Start arrow Forum
 
Polska wersjaEnglish version
 
Fun with Joomla!  


babak
User

Fresh Boarder
Posts: 1
graphgraph
Karma: 0  
Fatal error: Cannot use object of type mosParamete - 2008/01/11 22:22 This is a great code and deserves high rating except there is a problem that I can not exactly find a solution for.
Every once in a while you get the error below:
Fatal error: Cannot use object of type mosParameters as array in /home/dfwparty/public_html/components/com_joomlacache/includes/frontend.php on line 215

I have minimized this error by disabling the global cache in Joomla 1.13 but the problem still exists. I have tried it on various browsers and Installation of Joomla on different sites. Same issue, so it is definitely something with in the code.

PS: If you refresh the page a couple of times it finally comes up.

Any Clues?
  | | | The administrator has disabled public write access.
ljk
User

Fresh Boarder
Posts: 3
graphgraph
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.
  | | | The administrator has disabled public write access.
 

Lost Password?? No account yet? Register

Forum Info
Our users have posted a total of 370 articles.
We have 1068 registered users.
The newest registered user is: Gilles
In total there are 47 users online: 47 guests and 0 registered
Registered Users online: none