Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


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

robocoder opened this Issue · 1 comment

1 participant

Anthon Pang
Anthon Pang

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.

Anthon Pang

(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

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