We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Error message in Phalcon Loader autoLoad

I'm running Phalcon app on load balancer using multiple instances, my error log shows the following error message:

E_ERROR: Cannot use the memory manager when the request is shutting down in Phalcon\Loader::autoLoad called at ? (?)

I'm not familiar with C language and at the same time I'm unable to understand this error message and what is current problem exactly or what I have to fix, any idea please. Thank you



98.9k

Are you storing complex objects on session?

Yes but in 3rd party library, should this make effect on Phalcon\Loader::autoLoad ? actually my system is too huge.



98.9k

Try to serialize the complex objects before storing them at session to avoid this.

But which kinds of error or reasons that could come in Phalcon\Loader::autoLoad specially ?