Skip to content


clarify Site::get error message #3226

anonymous-piwik-user opened this Issue · 1 comment

2 participants


the exception thrown by Site::get method could use some clarifications:

--- core/Site.php       (revision 6479)
+++ core/Site.php       (working copy)
@@ -118,7 +118,7 @@
-                       throw new Exception('The requested website id = '.(int)$this->id.' couldn\'t be found');
+                       throw new Exception('The requested website id = '.(int)$this->id.' or property '.$name.' couldn\'t be found');
                return self::$infoSites[$this->id][$name];
Piwik Open Source Analytics member

(In [6611]) Fixes #3226 Thanks for the suggestion @ai

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.