Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
mattab opened this Issue · 1 comment

1 participant

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

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

@mattab mattab added this to the 1.9.2 - Piwik 1.9.2 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.