0
Not a bug

Fatal error: Uncaught ErrorException: set_time_limit() has been disabled for security reason

laslo 12 months ago updated by Vlad R 12 months ago 3

do you know how to fix implementing the update (2021-12-07) that fails on the server running PHP v7.4. The error message I received:

Developer info: de:1 met:90 ml:256M
-------------------------------------
Cleaning after previous update...Done
Extracting update...Done
Running update:
-------------------------------------
Fatal error: Uncaught ErrorException: set_time_limit() has been disabled for security reasons in /web/htdocs5/visualthemeshu/home/www/my-files/system/data/temp/_unzipped_update/update.php:8
Stack trace:
#0 /web/htdocs5/visualthemeshu/home/www/my-files/system/data/temp/_unzipped_update/update.php(8): FileRun\{closure}(2, 'set_time_limit(...', '/web/htdocs5/vi...', 8, Array)
#1 /web/htdocs5/visualthemeshu/home/www/my-files/system/modules/software_update/sections/cpanel/php/install.php(75): unknown()
#2 /web/htdocs5/visualthemeshu/home/www/my-files/index.php(181): unknown()
#3 {main}
thrown in /web/htdocs5/visualthemeshu/home/www/my-files/system/data/temp/_unzipped_update/update.php on line 8

Laszlo

Answer

Answer
Not a bug

Only solution is to remove set_time_limit from the list of disabled_functions

Answer
Not a bug

Only solution is to remove set_time_limit from the list of disabled_functions

You ask the server admin or hosting service tech support to change the PHP configuration for you.