ljk
User
 Fresh Boarder Posts: 3
  Karma: 0
|
Odp:Fatal error: Cannot use object of type mosPara - 2008/02/23 22:07
Hello,
I am having the same problem, but it only seems to happen when I switch from using PHP4 to PHP5.
I have some sites that are using PHP5 that I don't get the error on, and other sites that I do. They are all using the same template.
I agree it would be great to figure out why this is occurring and get it fix.
I get this error: Fatal error: Cannot use object of type mosParameters as array in /home/oppcotag/public_html/components/com_joomlacache/includes/frontend.php on line 215
on line 215 of fronend.php you have this code: if (isset($params['flush_after_expired'])) JoomlaCacheFlushModules ($module->id);
This code is in the foreach loop, but it doesn't look like the $params variable is getting set until after the for loop has finished executing (see line 258). Not sure how to fix this problem.
Anyone with any ideas about this problem?
Thanks.
|