Class 'ModuleOperations' not found

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
enrico1982
New Member
New Member
Posts: 1
Joined: Thu Oct 30, 2025 7:23 pm

Class 'ModuleOperations' not found

Post by enrico1982 »

A site running for years has now started to give the following error:

Fatal error: Uncaught Error: Class 'ModuleOperations' not found in /data09/localdir/public_html/lib/autoloader.php:127 Stack trace: #0 [internal function]: cms_autoloader('ModuleOperation...') #1 /data09/localdir/public_html/lib/autoloader.php(127): spl_autoload_call('ModuleOperation...') #2 [internal function]: cms_autoloader('global_cachable') #3 /data09/localdir/public_html/lib/include.php(109): spl_autoload_call('CMSMS\\internal\\...') #4 /data09/localdir/public_html/index.php(36): require_once('/data09/localdir...') #5 {main} thrown in /data09/localdir/public_html/lib/autoloader.php on line 127

I can't access any pages including the admin area.

Its currently running cmsms 2.1.5. After looking through a few old posts, I did try clearing out the tmp cache folders, but no change.

Its running on a shared hosting cpanel service, so maybe the server has updated the php version. Its running PHP 7.4.33.

Thanks!
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1819
Joined: Wed Feb 25, 2009 4:25 am

Re: Class 'ModuleOperations' not found

Post by DIGI3 »

It's going to be hard to diagnose, that version is almost 10 years old. It's possible it's a PHP version change, but it doesn't seem likely a host would change to 7.4 given that's also outdated and unsupported.

You could try rolling PHP back to 7.1 or earlier as that's what was out around the same time as 2.1.5. You could also try a "freshen" install by running the 2.1.5 installer so it replaces all core files.

Obviously upgrading to the latest version, and PHP 8.1+, would be the best option. If you need any help with that, see our Hire a Dev program via the link in my signature.
Not getting the answer you need? CMSMS support options
User avatar
creopard
Forum Members
Forum Members
Posts: 96
Joined: Fri Nov 10, 2017 10:25 am
Contact:

Re: Class 'ModuleOperations' not found

Post by creopard »

Post Reply

Return to “CMSMS Core”