Page Caching Problem
Permalink
Using C5.4.1.1, whenever I enable page caching, the system dies and it throws this error:
Fatal error: View::render() [<a href='view.render'>view.render</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "ImageBlockController" 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 /var/www/coopergt/concrete/libraries/view.php on line 734
I suspected it may have had something to do w/ the ImageBlockController, but this occurs across all pages if they use any kind of block.
Anyone had any similar experience and figured out an answer?
Thanks!
Fatal error: View::render() [<a href='view.render'>view.render</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "ImageBlockController" 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 /var/www/coopergt/concrete/libraries/view.php on line 734
I suspected it may have had something to do w/ the ImageBlockController, but this occurs across all pages if they use any kind of block.
Anyone had any similar experience and figured out an answer?
Thanks!
The primary rule of naming block classes and directories goes as following.
If your class is called:
MyCustomBlockController
your directory name will have to be:
/blocks/my_custom
You can read more in this thread:
http://www.concrete5.org/community/forums/customizing_c5/cache-prob...