Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Fatal error: Uncaught exception 'Exception' with message 'Serialization of 'Closure' is not allowed' #69

Closed
ghost opened this issue Mar 20, 2013 · 6 comments

Comments

@ghost
Copy link

ghost commented Mar 20, 2013

Warning: file_get_contents(https://api.github.com/repos/zendframework/zf2/git/refs/tags/release-) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in vendor\zendframework\zendframework\library\Zend\Version\Version.php on line 83

Warning: array_map() [function.array-map]: Argument #2 should be an array in vendor\zendframework\zendframework\library\Zend\Version\Version.php on line 88

Fatal error: Uncaught exception 'Exception' with message 'Serialization of 'Closure' is not allowed' in vendor\zendframework\zendframework\library\Zend\Version\Version.php:88 Stack trace: #0 vendor\zendframework\zendframework\library\Zend\Version\Version.php(88): array_map(Object(Closure), NULL) #1 vendor\zendframework\zendframework\library\Zend\Version\Version.php(115): Zend\Version\Version::getLatest() #2 vendor\zendframework\zend-developer-tools\src\ZendDeveloperTools\Listener\ToolbarListener.php(290): Zend\Version\Version::isLatest() #3 vendor\zendframework\zend-developer-tools\src\ZendDeveloperTools\Listener\ToolbarListener.php(187): ZendDeveloperTools\Listener\ToolbarListener->getLatestVersion('2.1.5dev') #4 vendor\zendframework\zend-developer-tools\src\ZendDeveloperTools\Listener\ToolbarListener.php(154): ZendDeveloperTools\Listener\ToolbarListener->renderEntries(Object(ZendDevel in vendor\zendframework\zendframework\library\Zend\Version\Version.php on line 88
@Ocramius
Copy link
Member

@booradleys is this after some update or such?

@ghost
Copy link
Author

ghost commented Mar 20, 2013

No, it appeared when i lost my internet connection this morning

@ghost
Copy link
Author

ghost commented Apr 28, 2013

I always get this issue so i have to disable this module for now.

@Ocramius
Copy link
Member

@booradleys can you provide more details on this one? What exact version of ZF2 are you using? This looks like a problem of Zend\Version\Version and is potentially fixed in zendframework/zendframework#4331

@ghost
Copy link
Author

ghost commented Apr 28, 2013

I'm using 2.1.6dev since many weeks.
I dont know why but since few minutes it works fine.
This problem occurs sometimes, not each time.

@Ocramius
Copy link
Member

@booradleys looks like a 403 from github then.

Not sure about the closure serialization though: if you get that again, please report it with more details

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant