Cannot use object of type datacache
#1
When trying to use the cache manager on the admin cp, I get the following error:

Fatal error: Cannot use object of type datacache as array in /.../webroot/forum/admin/maintenance.php on line 87

Any ideas what it could be?

Thanks,
Endre
#2
Does this happen for only some Cache Name's or all??
#3
This seems to be a bug that only is only obvious in PHP 5. As a temporary fix I suggest changing line 87 in admin/maintenance.php from:
if(method_exists($cache, "update".$cache->title))
to
if(method_exists($cache, "update"))
Matt Light
MattLight.com
If you want my help, be sure to follow the posting tips.
#4
Thanks, I will try this (Can't access the server atm).
#5
That was it, now it works, thanks a lot! :-)


Forum Jump:


Users browsing this thread: 1 Guest(s)