-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Fatal error: Base lambda function for closure not found #511
Comments
|
PHP v5.3.20 + APC Cache = Broken!Installing ZenCache v150626 on a system running PHP v5.3.20 with the APC Cache extension enabled produces a Fatal Error, as the result of PHP Bug #52144. Temporary Workarounds |
@raamdev Nice work in reproducing this. So far I have been unable to reproduce this on Ubuntu 12.04 64-bit running PHP v5.3.10 (or v5.3.20), and APC 3.1.7 Revision: 307215. Any other details you can provide about the specific OS and version of APC that you used to reproduce this? Did you build a Vagrant box to test this with? Once I can get it reproduced, debugging may shed light on a workaround for a specific PHP + APC version. |
APC notice. See: wpsharks/comet-cache#511
WorkaroundIf your server is running the APC Extension, you should disable it. The APC Extension is buggy and has been replaced by the newer Opcache extension (which is enabled by default in PHP 5.5+). The PHP community has stopped developing the APC extension and the last release was way back in 2012, so the best course of action if you're stuck running on PHP 5.3 or PHP 5.4 is to simply disable the extension altogether:
This will disable APC at runtime and prevent the bug that's throwing the Fatal Error. If you're unable to disable APC in this way, you'll need to contact your web hosting company to have them upgrade your server to a newer version of PHP (e.g., PHP 5.5+). |
ZenCache Pro ChangelogPro changelog that resolves this GitHub Issue:
ZenCache Lite ChangelogLite changelog that resolves this GitHub Issue:
|
This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one (#511). |
We've had several reports of ZenCache v160626 causing blank pages on sites, and some reporting the following error (this error is likely what's causing the 'blank pages', which occurs when a site does not have
WP_DEBUG
enabled):This PHP Bug report appears to indicate known issues with using lambda functions on systems running APC Cache and it appears that as of today the issue still has not been fixed: https://bugs.php.net/bug.php?id=52144
Steps to reproduce this bug
Expected behavior
ZenCache activates.
Observed behavior
Fatal Error:
Site Owners: If you're experiencing this issue:
We're still investigating this issue and will provide further updates below. While we're working on a fix issue, you can downgrade to the previous version of ZenCache (Lite v150409 | Pro v150409). Simply uninstall the current version of ZenCache and then you can install the previous version (see also: How do I uninstall ZenCache?).
Or you can implement this short-term workaround described below.
Support threads referencing this issue
The text was updated successfully, but these errors were encountered: