Failed to load class or interface 'PhabricatorProfilePanelEngine': the class or interface 'PhabricatorProfilePanelEngine' is not defined in the library map for any loaded phutil library. If you are not a developer, this almost always means that a library is out of date. For example, you may have upgraded `phabricator` without upgrading `libphutil`, or vice versa. It might also mean that you need to restart Apache or PHP-FPM. Make sure all libraries are up to date and all services have been restarted. If you are a developer and this symbol was recently added or moved, your library map may need to be rebuilt. You can rebuild the map by running 'arc liberate'. For more information, see: https://secure.phabricator.com/book/phabcontrib/article/adding_new_classes/
Description
Revisions and Commits
rPHSP phabricator-Sprint | |||
Restricted Differential Revision | rPHSP7a7368cd2162 Make function getItemURI public | ||
rPHSP2bdddf418740 syncs with upstream https://secure.phabricator. |
Event Timeline
I have the same problem. I tried to restart apache, reset php opcache, and run arc liberate on phabricator's root folder, and still missing that class/interface. Phabricator and libphutil are in last git version.
Thanks for reporting this! (I adjusted the task summary to describe the problem and reset the priority to default.)
Upstream renamed all ProfilePanels into ProfileMenuItems on 2016-12-11.
Your contributed patch in Wikimedia Gerrit is welcome as the Sprint extension is not very maintained.
You're welcome. I guess it's just a simple find/replace but I doubt I'll have time to mess with this in the near future. Maybe...
@Christopher would you mind posting a diff so I can get this deployed here while you guys are figuring out the repo issues?
@Rbalik This is a patch file for the change. Just one file is touched and it seems to fix the immediate issue ...
@Christopher looks like there's another spot to fix. If i'm on the burndown chart and click the name of the project above the chart, the page that loads fails with this error:
The URL pattern there is /project/sprint/profile/52
Error is:
>>> UNRECOVERABLE FATAL ERROR <<< Undefined class constant 'PANEL_PROFILE' /srv/phab/libext/sprint/src/controller/SprintProjectProfileController.php:75 ┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻
@Christopher Hi, the repo's are now hosted on wikipedia's own phabricator. See https://phabricator.wikimedia.org/diffusion/PHSP/
You will need to install arcanist + libphutil please.
see https://www.mediawiki.org/wiki/Phabricator/Arcanist
Also @mmodell could @Christopher be added to the group on https://phabricator.wikimedia.org/diffusion/PHSP/ to be able to land changes please?
@Christopher: You can push to rPHSP phabricator-Sprint and the changes will be replicated to gerrit automatically.
You need to have either ssh or http auth set up in phabricator:
- SSH
- Set up a SSH public key
- Then add the ssh remote: ssh://vcs@git-ssh.wikimedia.org/diffusion/PHSP/phabricator-sprint.git
- HTTPS
- Set a "VCS Password"
- Then add the https remote: https://phabricator.wikimedia.org/diffusion/PHSP/phabricator-sprint.git
Hi,
I just installed release/2017-02-08/1 on Enlightenment phab and I am now getting the following error:
>>> UNRECOVERABLE FATAL ERROR <<< Access level to SprintProjectProfilePanelEngine::getItemURI() must be public (as in class PhabricatorProfileMenuEngine) /usr/share/php/phabricator-extensions-Sprint/src/engine/SprintProjectProfilePanelEngine.php:4 ┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻
See https://phab.enlightenment.org/project/sprint/profile/102/
Contributed patches are welcome - I don't think Christopher has much time currently. :)