Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Call to protected method Zend_Config::_loadFileErrorHandler() #1242

Closed
robocoder opened this Issue · 1 comment

1 participant

@robocoder

http://forum.piwik.org/index.php?showtopic=6851

Depending on the PHP version, if parse_ini_file() fails, the set_error_handler(array($obj, $method)) may not work where $method is a protected function.

The workaround is to create a public method for the error handler.

@robocoder

(In [1989]) fixes #1242 - looks like a context bug in PHP because the method is a member of $this class (subclass of Zend_Config), and so should have access to its protected methods

@robocoder robocoder added this to the Piwik 0.6 milestone
@robocoder robocoder 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.