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!
			
			
									
						
										
						Class 'ModuleOperations' not found
- 
				enrico1982
- New Member 
- Posts: 1
- Joined: Thu Oct 30, 2025 7:23 pm
Re: Class 'ModuleOperations' not found
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.
			
			
									
						
							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
			
						


