Exception: Serialization of 'Closure' is not allowed

Follow

Applies to:
Zend Server 8.0
Z-Ray with ZF2 extension

Resolved in:
Zend Server 8.5

Summary

When loading Zend Framework 2 application with closure, you might get this exception when Z-Ray is loaded. See more details on the reported bug:

https://github.com/zend-server-extensions/Z-Ray-ZF2/issues/9

Workaround

You can disable Z-Ray or rename the zray.php in the ZF2 extension (now called "plugins").

Solution

Upgrade to Zend Server 8.5 and up to completely resolve the issue and use Z-Ray and ZF2 plugin.

 

Have more questions? Submit a request

Comments

Powered by Zendesk