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

There are 7  pages to add to list :  (0.0011940002441406 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.staging.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