Page MenuHomePhabricator

Clicking on a Diffusion commit results in undefined method DiffusionCommitParentsQueryConduitAPIMethod::getParamTypes
Closed, ResolvedPublic

Description

Clicking on any Diffusion commit results in this error:

>>> UNRECOVERABLE FATAL ERROR <<<

Call to undefined method DiffusionCommitParentsQueryConduitAPIMethod::getParamTypes()

/home/phabricator/phabricator/src/applications/diffusion/query/DiffusionQuery.php:66


┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻

I'm currently running this version: commit 3a17220ce3da87219160ea6de504c5d22822e8fa

Event Timeline

pilsetnieks raised the priority of this task from to Needs Triage.
pilsetnieks updated the task description. (Show Details)
pilsetnieks updated the task description. (Show Details)
pilsetnieks added a subscriber: pilsetnieks.

Same happens after clicking on a repository link, as well as the commit history link.

Try restarting apache (if using apache) or php-fpm (if using nginx + php-fpm) and let me know if the issue still reproduces?

php-fpm restart solved it. Is it some sort of a caching issue?
Anyway, sorry for wasting your time with such trivial stuff.

epriestley claimed this task.

Yes, APC/OpCache maintain a cache of compiled code. In this case, a newer "DiffusionQuery.php" was calling into an old "ConduitAPIMethod.php". When you upgrade, make sure to restart afterward to clear the cache.

Let us know if you run into any other issues.