PHP Fatal error: Base lambda function for closure not found #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
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
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:
@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.
If 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 Changelog
Pro changelog that resolves this GitHub Issue:
ZenCache Lite Changelog
Lite changelog that resolves this GitHub Issue: