MyBB Community Forums

Full Version: Cannot use object of type datacache
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Does this happen for only some Cache Name's or all??
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"))
Thanks, I will try this (Can't access the server atm).
That was it, now it works, thanks a lot! :-)