0

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?

4
  • did your server change php version? Commented Apr 14, 2020 at 22:22
  • No @Vickel. Do I need to upgrade PHP version? Currently its PHP 5.4.39 Commented Apr 15, 2020 at 6:30
  • 1
    Well first of all do not assume that nothing has changed. Something has changed or else you wouldn't be seeing this "new" behaviour. The second thing to do is check if you can find that class and go from there. Without any further information that is all I can suggest. Commented Apr 18, 2020 at 8:05
  • 1
    did you check around " Class 'Fb_function' not found "? Commented Apr 19, 2020 at 2:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.