Closed AndreLZGava closed 5 years ago
Mentioned in your stack trace:
#0 [internal function]: ArrayObject->unserialize('x:i:2;a:35:{s:1...')
Your stored session is likely corrupted.
Closing, since this bug is not in this component, nor caused by the session component itself.
Try extracting that serialized string and see if it looks broken, or contains symbols that cannot be autoloaded.
Provide a narrative description of what you are trying to accomplish.
Sometimes some user are using our system (we've developed it on ZF2) then user reports that when he upload a file (usually a image, png, jpeg on ajax) after that on submit system returns an error, session user is killed and he needs to start everything again, in the second time everything goes fine. I discovered that after submit file is saved on our server. But it still don
t work as expected. One of my workmate told me that probably this erros is caused by user using word, than when he copy and past in our system it comes with a strange caracther and then system goes down. I
ve used libre office, linux and MAC, and this never happens to me when I was testing with this, just happend once when I was using Windows and Word. I've found this issue https://github.com/zendframework/zendframework/issues/4386 , this problems seems mine, but is not the same errors.Code to reproduce the issue
In our Graylog it saves the entire error: /vendor/zendframework/zend-servicemanager/src/ServiceManager.php on line 946 error message : An exception was raised while creating "Session"; no instance returned
Expected results
just works as expected without this error
Actual results
User is logged out