*** Setting Default Page Type ***
*** Page Type is  promotion ***
*** ENV set as production ***
*** Attempting to get all active pages ***
There are 60  pages to process :  (0.0056829452514648 secs)

There are 7  pages to add to list :  (0.0015790462493896 secs)

*** Attempting to get all active page data to be merged ***

Fatal error: Uncaught Error: Call to undefined function currentHost() in /storage_local1/www/api.bet777.es/api/sbtech/Uploader/PageGenerator.class.php:287 Stack trace: #0 /storage_local1/www/api.bet777.es/api/sbtech/Uploader/PageGenerator.class.php(525): PageGenerator->generatePromoList(Array, true) #1 /storage_local1/www/api.bet777.es/api/sbtech/Uploader/SbtechApi.php(107): PageGenerator->generatePromoLists(Array, true) #2 /storage_local1/www/api.bet777.es/api/sbtech/Uploader/env.production.php(5): require_once('/storage_local1...') #3 {main} thrown in /storage_local1/www/api.bet777.es/api/sbtech/Uploader/PageGenerator.class.php on line 287