Re: Fatal Error: Cannot call overloaded function for non-object
Posted 11 years 2 months ago
We are having some "fatal errors" using Gantry v4.1.17 here is the most recent log info
mod_fcgid: stderr: PHP Fatal error: Class 'JModuleHelper' not found in [siteroot]/httpdocs/libraries/gantry/core/renderers/gantrymodulesrenderer.class.php on line 60
We do use some "cache" on the site. All of the cache we used is browser cache control and cache headers from .htaccess (I would be willing to PM the exact settings if needed)
EDIT:
According to the
Joomla documentation Wiki
My issue is due to a missing line in the code, the following code should be added before line 60
Re: Fatal Error: Cannot call overloaded function for non-object
Posted 11 years 2 months ago
Another site we are having the same issue even in the backend randomly we are getting the exact error on a totally different template? Please help if its a module then lets just turn it off thx!
Re: Fatal Error: Cannot call overloaded function for non-object
Posted 11 years 1 month ago
I was having this problem today and uploaded an older version of gantry.php and now the problem is solved. Not the ideal way to go about it but it worked!
Re: Fatal Error: Cannot call overloaded function for non-object
Posted 11 years 1 month ago
It's simple, open up the original zipped file you installed with that has Gantry in it and find that file (the error message tells you right where it is) and upload it. To be safe, rename the current non-working file to something else so you still have it just in case.
Re: Fatal Error: Cannot call overloaded function for non-object
Posted 11 years 1 month ago
I noticed that after the 432 error, Cleaning the cache fix the problem but that's a temporary fix, it will give the same error after loading additional content
Rub
Steve Jobs "We will miss you" We are volunteers - Don't be rude