Update from 1.9.0 to 1.9.1 Error Piwik_Config::$General has no effect

After i update from 1.9.0 to 1.9.1, now i see some yellow error boxes.


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

How i fix this error ?

I have the same problem :frowning:


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 -->

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

Sorry about the bug. Thanks for the report!

replace these two files:
http://dev.piwik.org/trac/browser/trunk/core/Url.php?rev=7314&format=txt

and:

http://dev.piwik.org/trac/browser/trunk/plugins/CoreAdminHome/Controller.php?rev=7314&format=txt

that should fix it. let me know if you find any more error ? I couldnt see this error in my php because I think it’s due to old php version bugs.

Thx, i have replaced the two files and now there are no yellow error boxes more. (tu)

after the update I still get an error message under configuration

[i]

Notice: Indirect modification of overloaded property Piwik_Config::$Plugins has no effect in /var/www/virtual/core/PluginsManager.php on line 634

Backtrace -->

#0 Piwik_ErrorHandler(…) called at [/var/www/virtual/core/PluginsManager.php:634]
#1 Piwik_PluginsManager->getMissingPlugins(…) called at [/var/www/virtual/core/Controller/Admin.php:48]
#2 Piwik_Controller_Admin::setBasicVariablesAdminView(…) called at [/var/www/virtual/core/Controller/Admin.php:30]
#3 Piwik_Controller_Admin->setBasicVariablesView(…) called at [/var/www/virtual/plugins/UsersManager/Controller.php:177]
#4 Piwik_UsersManager_Controller->userSettings(…) called at [:]
#5 call_user_func_array(…) called at [/var/www/virtual/core/FrontController.php:138]
#6 Piwik_FrontController->dispatch(…) called at [/var/www/virtual/index.php:53][/i]