: If the file exists - and it does - then why the error? I have many instances of this error in one of the Joomla 2.5 sites I built and maintain:
PHP Fatal error: Class 'JModuleHelper' not found in /[myhost]/public_html/[mysite]/libraries/gantry/core/renderers/gantrymodulesrenderer.class.php on line 60
I've managed to get rid of the error altogether now. It was to do with the php version, I was running 5.3 and it should have been 5.4 to go with the newer version of Gantry.
Yes, that seems to be the resolution. I saw Cossie's note yesterday and changed the PHP version from 5.3 to 5.4 for all of the sites I maintain. The server error logs don't show any error with JModuleHelper since before I made the switch.
We try to ensure that any Gantry template and the Gantry Library specifically will work with any modern and secure server environment. The recommended minimum requirements are:
Finding out that I need PHP 5.4 is not good. I have already upgraded to the latest template and Gantry 4. I am now getting this error mentioned at the top of this thread. My provider (KnownHost) does not yet have a stable version of PHP 5.4 implemented with cPanel. It is still considered "experimental" - and KnownHost is also not able to load Zend Guard with PHP 5.4 yet. Any other ideas on how to resolve this error. I wouldn't call it "solved" yet...