I ran into this problem many times and never found a solution. It only
seemed to happen on apps with large sets of models and relations, so I
am assuming that the serialization of the objects is causing the model
relations to break or not work properly. I had to disable persistModel
and just stich with caching.

On Oct 18, 7:27 am, sherzo <[email protected]> wrote:
> Hi all
>
> Today I noticed that the registration part of my web site stopped working! I
> turned on the debug mode and I saw this error message:
> "The script tried to execute a method or access a property of an incomplete
> object. Please ensure that the class definition "Registration" of the object
> you are trying to operate on was loaded _before_ unserialize() gets called
> or provide a __autoload() function to load the class definition in xxx"
> I google it and I found out its related to the persistModel. I deleted the
> whole cache and nothing changed! the I change the persistModel value from
> true to false and then the site started to work!
> but I need the persistModel to be on!
> Any one knows how can I solve this problem?
>
> Thanks
> Sherry
> --
> View this message in 
> context:http://cakephp.1045679.n5.nabble.com/PersistModel-problem-tp3217510p3...
> Sent from the CakePHP mailing list archive at Nabble.com.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to