Last modified: 2013-10-29 06:58:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56815, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54815 - Flow failures "Base lambda function for closure not found" in error.log
Flow failures "Base lambda function for closure not found" in error.log
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Normal major (vote)
: ---
Assigned To: Erik Bernhardson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-01 04:00 UTC by spage
Modified: 2013-10-29 06:58 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2013-10-01 04:00:19 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"'
Comment 1 spage 2013-10-01 04:41:02 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/273
Comment 2 spage 2013-10-07 18:10:54 UTC
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.
Comment 3 Andrew Garrett 2013-10-29 06:58:45 UTC
This is resolved for our purposes by 79f8e0b6.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links