Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice: Indirect modification of overloaded property Piwik_Config::$General has no effect #3478

Closed
mattab opened this issue Oct 26, 2012 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Oct 26, 2012

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

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


@mattab
Copy link
Member Author

mattab commented Oct 26, 2012

(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

@mattab mattab added this to the 1.9.2 - Piwik 1.9.2 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

1 participant