{"action":"created","issue":{"url":"https://api.github.com/repos/zendframework/zf1/issues/496","labels_url":"https://api.github.com/repos/zendframework/zf1/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/zendframework/zf1/issues/496/comments","events_url":"https://api.github.com/repos/zendframework/zf1/issues/496/events","html_url":"https://github.com/zendframework/zf1/issues/496","id":55116958,"number":496,"title":"Uncaught exception 'Exception' with message 'Serialization of 'Closure' is not allowed'","user":{"login":"back-2-95","id":1140272,"avatar_url":"https://avatars.githubusercontent.com/u/1140272?v=3","gravatar_id":"","url":"https://api.github.com/users/back-2-95","html_url":"https://github.com/back-2-95","followers_url":"https://api.github.com/users/back-2-95/followers","following_url":"https://api.github.com/users/back-2-95/following{/other_user}","gists_url":"https://api.github.com/users/back-2-95/gists{/gist_id}","starred_url":"https://api.github.com/users/back-2-95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/back-2-95/subscriptions","organizations_url":"https://api.github.com/users/back-2-95/orgs","repos_url":"https://api.github.com/users/back-2-95/repos","events_url":"https://api.github.com/users/back-2-95/events{/privacy}","received_events_url":"https://api.github.com/users/back-2-95/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zendframework/zf1/labels/Zend_EventManager","name":"Zend_EventManager","color":"008000"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-22T05:49:29Z","updated_at":"2015-06-15T10:08:51Z","closed_at":"2015-06-15T10:08:51Z","body":"Hello,\r\n\r\nI get this error from Zend Server 8.0.1 with Z-Ray.\r\nIt has PHP 5.5.20.\r\n\r\nShouldn't ZF1 work with it?\r\n\r\nBactrace with all functions pointing to Zend Framework 1 classes and methods:\r\n```\r\nBacktrace [select all]\r\nthrow() at /home/_applications/myapp/vendor/zendframework/zendframework1/library/Zend/Stdlib/PriorityQueue.php: 187\r\nserialize() at /home/_applications/myapp/vendor/zendframework/zendframework1/library/Zend/Stdlib/PriorityQueue.php: 187\r\nserialize() at /home/_applications/myapp/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/Bootstrap.php: 105\r\ndispatch() at /home/_applications/myapp/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/Bootstrap.php: 105\r\nrun() at /home/_applications/myapp/vendor/zendframework/zendframework1/library/Zend/Application.php: 382\r\nrun() at /home/_applications/df-lms-lite/public/index.php: 83\r\n```\r\nI also posted this to Zend Server forum:\r\nhttp://forums.zend.com/viewtopic.php?f=8&t=123183"},"comment":{"url":"https://api.github.com/repos/zendframework/zf1/issues/comments/112004532","html_url":"https://github.com/zendframework/zf1/issues/496#issuecomment-112004532","issue_url":"https://api.github.com/repos/zendframework/zf1/issues/496","id":112004532,"user":{"login":"back-2-95","id":1140272,"avatar_url":"https://avatars.githubusercontent.com/u/1140272?v=3","gravatar_id":"","url":"https://api.github.com/users/back-2-95","html_url":"https://github.com/back-2-95","followers_url":"https://api.github.com/users/back-2-95/followers","following_url":"https://api.github.com/users/back-2-95/following{/other_user}","gists_url":"https://api.github.com/users/back-2-95/gists{/gist_id}","starred_url":"https://api.github.com/users/back-2-95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/back-2-95/subscriptions","organizations_url":"https://api.github.com/users/back-2-95/orgs","repos_url":"https://api.github.com/users/back-2-95/repos","events_url":"https://api.github.com/users/back-2-95/events{/privacy}","received_events_url":"https://api.github.com/users/back-2-95/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T10:08:51Z","updated_at":"2015-06-15T10:08:51Z","body":"Update: this seems to be problem with Zend Framework 1 Z-ray plugin. So if you remove/disable it, your code will work. I guess they're fixing in the following versions but for me removing the plugin was enough."}}