Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Fatal error: Class 'Piwik' not found trunk #3477

Closed
anonymous-matomo-user opened this issue Oct 25, 2012 · 3 comments
Closed

PHP Fatal error: Class 'Piwik' not found trunk #3477

anonymous-matomo-user opened this issue Oct 25, 2012 · 3 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

I encountered this bug after uninstalling GeoIP, when I had removed the reference to it from [but not PluginsInstalled or [Plugins_Tracker]. Obviously it should error at this point, but it presumably shouldn't be the error logger that breaks!

PHP Fatal error:  Class 'Piwik' not found in /home/{user}/public_html/piwik/core/PluginsManager.php on line 439

Line 439 is a call the the Piwik:log function, logging that the plugin cannot be found.

Piwik::log("Unable to load plugin '$pluginName' because '$path' couldn't be found.");
@catchin
Copy link

catchin commented Oct 25, 2012

I would vote for the priority being set higher. I encountered the same bug and fixed it like suggested: removing "GeoIP" from the config.ini.php altogether. Should the extension be uninstalled during an upgrade script? If so, this was not the case for me.

Note that no logging is done while this error occurs.

@mattab
Copy link
Member

mattab commented Oct 26, 2012

(In [7310]) Fixes #3476 #3477 Commenting out Debug message for now.

@mattab
Copy link
Member

mattab commented Oct 26, 2012

(In [7311]) will repackage with bug fix #3476 #3477

@anonymous-matomo-user anonymous-matomo-user added this to the 1.9.2 - Piwik 1.9.2 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants