Anyone can help? I think this has more to do with unserialize issues handled by cakephp than have to do with Twig.
On Jul 7, 4:02 pm, Zeu5 <[email protected]> wrote: > using cake 1.3.9 > > I wrote a library class that i placed inside app/libs > > this class IteratorForTwig basically extends the ArrayObject class > > http://bin.cakephp.org/view/2007912078 > > I need it because I am using Twig to make building themes as designer- > friendly as possible. > > I did > > $this->set('some_object', $some_object); at the controllers > > where the $some_object is an instance of the class IteratorForTwig. > > Now the code works, but I keep getting warning messages in error.log > > Warning: Warning (2): unserialize() [http://php.net/ > function.unserialize]: Function spl_autoload_call() hasn't defined the > class it was called for in [/var/www/wp/cake/libs/cache/file.php, line > 176] > Warning: Warning (2): Class __PHP_Incomplete_Class has no unserializer > in [/var/www/wp/cake/libs/cache/file.php, line 176] > > What can I do to resolve these warnings? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
