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

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