{"action":"created","issue":{"url":"https://api.github.com/repos/websharks/zencache/issues/511","labels_url":"https://api.github.com/repos/websharks/zencache/issues/511/labels{/name}","comments_url":"https://api.github.com/repos/websharks/zencache/issues/511/comments","events_url":"https://api.github.com/repos/websharks/zencache/issues/511/events","html_url":"https://github.com/websharks/zencache/issues/511","id":91528846,"number":511,"title":"PHP Fatal error: Base lambda function for closure not found","user":{"login":"raamdev","id":53005,"avatar_url":"https://avatars.githubusercontent.com/u/53005?v=3","gravatar_id":"","url":"https://api.github.com/users/raamdev","html_url":"https://github.com/raamdev","followers_url":"https://api.github.com/users/raamdev/followers","following_url":"https://api.github.com/users/raamdev/following{/other_user}","gists_url":"https://api.github.com/users/raamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/raamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raamdev/subscriptions","organizations_url":"https://api.github.com/users/raamdev/orgs","repos_url":"https://api.github.com/users/raamdev/repos","events_url":"https://api.github.com/users/raamdev/events{/privacy}","received_events_url":"https://api.github.com/users/raamdev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/websharks/zencache/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/websharks/zencache/labels/lite","name":"lite","color":"bfe5bf"},{"url":"https://api.github.com/repos/websharks/zencache/labels/pro","name":"pro","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/websharks/zencache/milestones/13","html_url":"https://github.com/websharks/zencache/milestones/Next%20Release%20(Pro)","labels_url":"https://api.github.com/repos/websharks/zencache/milestones/13/labels","id":1061264,"number":13,"title":"Next Release (Pro)","description":"","creator":{"login":"raamdev","id":53005,"avatar_url":"https://avatars.githubusercontent.com/u/53005?v=3","gravatar_id":"","url":"https://api.github.com/users/raamdev","html_url":"https://github.com/raamdev","followers_url":"https://api.github.com/users/raamdev/followers","following_url":"https://api.github.com/users/raamdev/following{/other_user}","gists_url":"https://api.github.com/users/raamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/raamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raamdev/subscriptions","organizations_url":"https://api.github.com/users/raamdev/orgs","repos_url":"https://api.github.com/users/raamdev/repos","events_url":"https://api.github.com/users/raamdev/events{/privacy}","received_events_url":"https://api.github.com/users/raamdev/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":3,"state":"open","created_at":"2015-04-10T01:40:38Z","updated_at":"2015-07-14T19:36:32Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-06-27T23:30:39Z","updated_at":"2015-07-14T19:36:32Z","closed_at":"2015-07-14T19:36:32Z","body":"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](https://codex.wordpress.org/Debugging_in_WordPress)):\r\n\r\n> PHP Fatal error: Base lambda function for closure not found in /home/example/wp-content/plugins/zencache-pro/src/includes/closures/Shared/CacheDirUtils.php on line 15\r\n\r\nThis 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\r\n\r\n---\r\n\r\n## Steps to reproduce this bug\r\n\r\n1. Install PHP v5.3.20 with APC Cache enabled\r\n1. Install and Activate ZenCache v150626 (either Lite or Pro)\r\n1. Visit the ZenCache plugin options (sometimes it takes one or two page changes before the error appears, but it's consistent within 1-2 page changes).\r\n\r\n### Expected behavior\r\n\r\nZenCache activates.\r\n\r\n### Observed behavior\r\n\r\nFatal Error:\r\n\r\n> Fatal error: Base lambda function for closure not found in /Users/raam/Sites/zcpro.dev/wordpress/wp-content/plugins/zencache-pro/src/includes/closures/Shared/CacheLockUtils.php on line 19\r\n\r\n---\r\n\r\n### Site Owners: If you're experiencing this issue:\r\n\r\nWe'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](https://downloads.wordpress.org/plugin/zencache.150409.zip) | [Pro v150409](http://zencache.com/?s2member_file_download=ccaps%2Faccess-s2member-ccap-pro%2Fzencache-pro-v150409.zip)). Simply uninstall the current version of ZenCache and then you can install the previous version (see also: [How do I uninstall ZenCache?](http://zencache.com/kb-article/how-do-i-uninstall-zencache/)).\r\n\r\nOr you can implement [this short-term workaround described below](https://github.com/websharks/zencache/issues/511#issuecomment-118181282).\r\n\r\n---\r\n\r\n#### Support threads referencing this issue\r\n\r\n- https://websharks.zendesk.com/agent/tickets/6977\r\n- https://websharks.zendesk.com/agent/tickets/6984\r\n- https://websharks.zendesk.com/agent/tickets/6981\r\n- https://websharks.zendesk.com/agent/tickets/6993\r\n- https://websharks.zendesk.com/agent/tickets/6990\r\n- https://websharks.zendesk.com/agent/tickets/7003\r\n- https://wordpress.org/support/topic/white-background-10\r\n- https://wordpress.org/support/topic/zencache-crashes-site\r\n- https://wordpress.org/support/topic/can-we-get-an-update-on-v150626\r\n- https://github.com/websharks/zencache/issues/515"},"comment":{"url":"https://api.github.com/repos/websharks/zencache/issues/comments/121351983","html_url":"https://github.com/websharks/zencache/issues/511#issuecomment-121351983","issue_url":"https://api.github.com/repos/websharks/zencache/issues/511","id":121351983,"user":{"login":"raamdev","id":53005,"avatar_url":"https://avatars.githubusercontent.com/u/53005?v=3","gravatar_id":"","url":"https://api.github.com/users/raamdev","html_url":"https://github.com/raamdev","followers_url":"https://api.github.com/users/raamdev/followers","following_url":"https://api.github.com/users/raamdev/following{/other_user}","gists_url":"https://api.github.com/users/raamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/raamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raamdev/subscriptions","organizations_url":"https://api.github.com/users/raamdev/orgs","repos_url":"https://api.github.com/users/raamdev/repos","events_url":"https://api.github.com/users/raamdev/events{/privacy}","received_events_url":"https://api.github.com/users/raamdev/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T19:36:32Z","updated_at":"2015-07-14T19:36:32Z","body":"## ZenCache Pro Changelog\r\n\r\nPro changelog that resolves this GitHub Issue:\r\n\r\n- **Bug Fix**: Fixed a fatal error that was occurring on some sites after upgrading to v150629. We discovered the fatal error was related to PHP's outdated and buggy APC extension, which is often active on sites running PHP 5.3 and PHP 5.4. We now prevent activation of ZenCache on systems with the APC extension enabled and show a warning message instead. We've written [a KB Article that further explains the APC Extension Warning](http://zencache.com/kb-article/why-does-zencache-show-an-apc-extension-warning/) and offers advice to site owners who are currently running APC. See also [Issue #511](https://github.com/websharks/zencache/issues/511).\r\n\r\n## ZenCache Lite Changelog\r\n\r\nLite changelog that resolves this GitHub Issue:\r\n\r\n- **Bug Fix**: This update reverts the codebase restructure released in the previous version (v150626). That release received several reports of Fatal Errors, however those issues only affected a small subset of ZenCache users. After extensive research, we discovered that this issue was related to a bug in PHP's APC Extension (which is commonly used on systems running PHP 5.3 and PHP 5.4). The restructured codebase in the previous release utilized a newer PHP feature (Closures) and that increased the likelihood of exposing that existing PHP bug. Since we can't fix the PHP bug directly and we want to continue supporting PHP 5.3.2+ and PHP 5.4 for now, we're reverting the ZenCache Lite codebase restructure to the previous version (v150409). The new ZenCache Lite features that were included in the previous release are still available in this release--only the structure of the codebase itself has changed. To read more about the PHP APC bug, see [Issue #511](https://github.com/websharks/zencache/issues/511).\r\n"}}