@mattab opened this Issue on October 26th 2012 Owner

A bug was reported in the forums


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

Notice: Indirect modification of overloaded property Piwik_Config::$General has no effect in /var/www/piwik/core/Url.php on line 208

Backtrace -->

<a href='/0'>#0</a> Piwik_ErrorHandler(...) called at [/var/www/piwik/core/Url.php:208]
<a href='/1'>#1</a> Piwik_Url::isValidHost(...) called at [/var/www/piwik/core/Url.php:246]
<a href='/2'>#2</a> Piwik_Url::getHost(...) called at [/var/www/piwik/core/Url.php:277]
<a href='/3'>#3</a> Piwik_Url::getCurrentHost(...) called at [/var/www/piwik/core/Url.php:64]
<a href='/4'>#4</a> Piwik_Url::getCurrentUrlWithoutFileName(...) called at [/var/www/piwik/core/View.php:49]
<a href='/5'>#5</a> Piwik_View->__construct(...) called at [/var/www/piwik/core/ViewDataTable/HtmlTable.php:97]
<a href='/6'>#6</a> Piwik_ViewDataTable_HtmlTable->buildView(...) called at [/var/www/piwik/core/ViewDataTable/HtmlTable.php:89]
<a href='/7'>#7</a> Piwik_ViewDataTable_HtmlTable->main(...) called at [/var/www/piwik/core/Controller.php:152]
<a href='/8'>#8</a> Piwik_Controller->renderView(...) called at [/var/www/piwik/plugins/Referers/Controller.php:167]
<a href='/9'>#9</a> Piwik_Referers_Controller->getWebsites(...) called at [:]
<a href='/10'>#10</a> call_user_func_array(...) called at [/var/www/piwik/core/FrontController.php:138]
<a href='/11'>#11</a> Piwik_FrontController->dispatch(...) called at [/var/www/piwik/index.php:53]
@mattab commented on October 26th 2012 Owner

(In [7314]) Fixes #3478 We cannot apparently set the value of a config file section directly, it fails for some php versions which don't understand the &__get() magic function.. Refs #3080
Refactoring the two setters into one helper function

Also fixing notice in graph code

This Issue was closed on November 9th 2012
Powered by GitHub Issue Mirror