Good afternoon. We have a website running on Codeigniter 4. The website has been working stably for more than three years, but yesterday something happened and the main page of the website stopped working, the server issues a 500 error. However, all other pages of the site are working correctly. Part of the server log is attached.
PHP Fatal error: Uncaught ErrorException: file_get_contents(/home/c/ck42654/app/Config/Modules.php): failed to open stream: Permission denied in /home/c/ck42654/vendor/codeigniter4/framework/system/Autoloader/FileLocator.php:172
Stack trace:
#0 [internal function]: CodeIgniter\\Debug\\Exceptions->errorHandler(2, 'file_get_conten...', '/home/c/ck42654...', 172, Array)
#1 /home/c/ck42654/vendor/codeigniter4/framework/system/Autoloader/FileLocator.php(172): file_get_contents('/home/c/ck42654...')
#2 /home/c/ck42654/vendor/codeigniter4/framework/system/Config/Config.php(150): CodeIgniter\\Autoloader\\FileLocator->getClassname('/home/c/ck42654...')
#3 /home/c/ck42654/vendor/codeigniter4/framework/system/Config/Config.php(83): CodeIgniter\\Config\\Config::createClass('Modules')
#4 /home/c/ck42654/vendor/codeigniter4/framework/system/Common.php(126): CodeIgniter\\Config\\Config::get('Modules', true)
#5 /home/c/ck42654/vendor/codeigniter4/framework/system/Config/BaseConfig.php(85): config('Modules')
#6 /home/c/ck42654/vendor/codeigniter4/fra in /home/c/ck42654/vendor/codeigniter4/framework/system/Autoloader/FileLocator.php on line 172
How can I fix this error?