Session contain __PHP_Incomplete_Class_Name value

Hi, that's happend only on remote server. On localhost there is no problem. When user login then I'm setup in session as attribute one Object. After that user is redirect to main page, and from View I'm trying access that field. When I dumped session that field has got value "PHPIncompleteClass_Name". As far as I know that problem is connected with serialization of object, but object in that moment isn't completly loaded so dumping that object gives that messages. Problem is that, that only occures on remote (production) server. On localhost is ok. I'm wonder how that can be solved?

edited Sep '16
  • check dependents libraries you use.
  • check permissions.
  • check enviorement prod == dev