Piwik 2.9.1 Array to string conversion in TrackerCodeGenerator.php


#1
There is an error. Please report the message (Piwik 2.9.1) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice:
Array to string conversion in /home/user/public_html/piwik/core/Tracker/TrackerCodeGenerator.php on line 137

Backtrace -->

#0 Piwik\Error::errorHandler(...) called at [:]
#1 str_replace(...) called at [/home/user/public_html/piwik/core/Tracker/TrackerCodeGenerator.php:137]
#2 Piwik\Tracker\TrackerCodeGenerator->generate(...) called at [/home/user/public_html/piwik/plugins/SitesManager/API.php:93]
#3 Piwik\Plugins\SitesManager\API->getJavascriptTag(...) called at [:]
#4 call_user_func_array(...) called at [/home/user/public_html/piwik/core/API/Proxy.php:211]
#5 Piwik\API\Proxy->call(...) called at [/home/user/public_html/piwik/core/API/Request.php:216]
#6 Piwik\API\Request->process(...) called at [/home /user/public_html/piwik/plugins/API/Controller.php:33]
#7 Piwik\Plugins\API\Controller->index(...) called at [:]
#8 call_user_func_array(...) called at [/home/user/public_html/piwik/core/FrontController.php:582]
#9 Piwik\FrontController->doDispatch(...) called at [/home/user/public_html/piwik/core/FrontController.php:96]
#10 Piwik\FrontController->dispatch(...) called at [/home/user/public_html/piwik/core/dispatch.php:36]
#11 require_once(...) called at [/home/user/public_html/piwik/index.php:46]