Last modified: 2013-10-29 06:58:45 UTC
Sometimes ee-flow only loads part of a Flow page (and none of the page skin), or reports an error trying to submit a post. /var/log/apache2/error.log reliably contains: PHP Fatal error: Base lambda function for closure not found in /srv/mediawiki/extensions/Flow/templates/post.html.php on line 5, referer: http://ee-flow.wmflabs.org/wiki/Special:Flow/<some page> ErikB comments that it's a bug in the PHP APC accelerator [I think https://bugs.php.net/bug.php?id=52144]. It was fixed in version 3.1.10 of the php-apc package, but our servers run Ubuntu 12.04 (precise) for which the package is 3.1.7. PHP 5.3.19 is the first PHP version with the fix. ErikB remarks `the temporary workaround is "never put a lambda (anonymous function) at the top level of a php file"'
Prioritization and scheduling of this bug is tracked on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/273
We've applied the workaround to Echo files potentially subject to this bug. We need a reproduceable test case to encourage operations to carry the php-apc patch.
This is resolved for our purposes by 79f8e0b6.