Shopware update failed with "Call to undefined function set_time_limit()"

When logging into the admin / backend gui I received a message about the update 6.4.18.1
After confirming the update I receive the following message :

Slim Application Error

The application could not run because of the following error:

Details

Type: Error

Message: Call to undefined function set_time_limit()

File: /myShopSite/vendor/shopware/recovery/Update/src/app.php

Line: 46

Trace

#0 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#1 /home/clients/b1529c5c05c3faf4a6cfd6d4e4260f70/sites/tns-gemusehobel.ch/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array(Object(Closure), Array)
#2 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#3 /home/clients/b1529c5c05c3faf4a6cfd6d4e4260f70/sites/tns-gemusehobel.ch/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#4 /home/clients/b1529c5c05c3faf4a6cfd6d4e4260f70/sites/tns-gemusehobel.ch/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#5 /home/clients/b1529c5c05c3faf4a6cfd6d4e4260f70/sites/tns-gemusehobel.ch/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#6 /home/clients/b1529c5c05c3faf4a6cfd6d4e4260f70/sites/tns-gemusehobel.ch/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php(297): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#7 /home/clients/b1529c5c05c3faf4a6cfd6d4e4260f70/sites/tns-gemusehobel.ch/vendor/shopware/recovery/Update/index.php(39): Slim\App->run()
#8 /home/clients/b1529c5c05c3faf4a6cfd6d4e4260f70/sites/tns-gemusehobel.ch/public/recovery/update/index.php(6): require_once(‚/home/clients/b…‘)
#9 {main}

I tried removed line 46 from the script :

was
@set_time_limit(0);

commented line 46 (not sure why the call failed on my web-server !?
#set_time_limit(0);

But afterwards the script / installation runs fine :slight_smile: