*** Page Type is  promotion ***
*** Getting default environment ***
*** ENV set as production ***
*** Attempting to get all active pages ***
There are 60  pages to process :  (0.0055859088897705 secs)

There are 7  pages to add to list :  (0.001384973526001 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/SbtechPromoApi.php(4): require_once('/storage_local1...') #3 {main} thrown in /storage_local1/www/api.bet777.es/api/sbtech/Uploader/PageGenerator.class.php on line 287