Class not found error in Modules.php: Codeigniter

184 views Asked by At

My project use Codeigniter 2.1.4(HMVC) and all of the sudden I am getting following error while calling any controller:

PHP Fatal error: Class 'Fb_function' not found in /var/www/html/FB_W/application/third_party/MX/Modules.php on line 105

And the line has following code:

$controller = ucfirst($class);  
self::$registry[$alias] = new $controller($params);

I have not done any changes in this file and the code so working fine from last 4 years.

how do I fix this problem?

0

There are 0 answers