Skip to content


MultiSites Plugin API: String typecast does not invoke magical __toString method for PHP < 5.2.0 #2953

peterbo opened this Issue · 1 comment

1 participant


In PHP Version < 5.2.0, a String-typecast of an object does not invoke its magic toString methods and returns only the ID of the Object. Reported in,85638,85880#msg-85880. Piwik then fails with an Exception.


(In [5867]) Fixes #2953, manually invoke object's toString()-Method instead of typecasting it.

@peterbo peterbo added this to the 1.7.x - Piwik 1.7.1 milestone
@peterbo peterbo self-assigned this
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.