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

Cannot declare class Piwik\\Plugins\\Maqketplace\\Marketplace #12762

Closed
w1z0rd opened this issue Apr 23, 2018 · 10 comments
Closed

Cannot declare class Piwik\\Plugins\\Maqketplace\\Marketplace #12762

w1z0rd opened this issue Apr 23, 2018 · 10 comments
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.

Comments

@w1z0rd
Copy link

w1z0rd commented Apr 23, 2018

Hi there,

since 2 days now, my matomo fails to load with internal server error 500.
apache error log:

AH01071: Got error 'PHP message: PHP Fatal error: Cannot declare class Piwik\\Plugins\\Maqketplace\\Marketplace, because the name is already in use in /var/www/vhosts/matomo/httpdocs/plugins/Marketplace/Marketplace.php on line 0\n'

Anyone an idea what this is about?

@sgiehl
Copy link
Member

sgiehl commented Apr 23, 2018

Did you add the typo in Maqketplace or is that the real error message? If so maybe check if there is a plugin directory with the name Maqketplace

@w1z0rd
Copy link
Author

w1z0rd commented Apr 23, 2018

@sgiehl There is no directory named Maqketplace and matomo worked fine for several months before :/

EDIT: This is the actual error message - no typo

@sgiehl
Copy link
Member

sgiehl commented Apr 23, 2018

I wonder where the typo comes from. It's not included anywhere in Matomo source. Maybe try reuploading the source files...

@w1z0rd
Copy link
Author

w1z0rd commented Apr 23, 2018

@sgiehl I searched through all MySQL tables and checked all files with grep - no string like Maqketplace. Any idea where this came from?

@w1z0rd
Copy link
Author

w1z0rd commented Apr 23, 2018

It seems to have all started with this line three days ago:

AH01071: Got error 'PHP message: PHP Fatal error:  Interface 'Zend_Db_Statement_Interface' not found in /var/www/vhosts/matomo/httpdocs/libs/Zend/Db/Statement.php on line 42\n'

@w1z0rd
Copy link
Author

w1z0rd commented Apr 23, 2018

@sgiehl I've reuploaded matomo's files and everything works fine now. Was my matomo hacked?

@sgiehl
Copy link
Member

sgiehl commented Apr 23, 2018

Was my matomo hacked?

We are not aware of any security breach in matomo that would allow changing any files in latest version.
But if you think it might got hacked it might make sense to change your passwords...

@sgiehl sgiehl closed this as completed Apr 23, 2018
@w1z0rd
Copy link
Author

w1z0rd commented Apr 23, 2018

Ok thanks then :)

@w1z0rd
Copy link
Author

w1z0rd commented Apr 23, 2018

This was the very first error:

Matomo encoutered an error: Class 'Zend_Loader' not found (which lead to: Circular dependency detected while trying to resolve entry 'Piwik\Plugins\CorePluginsAdmin\Controller')

@w1z0rd
Copy link
Author

w1z0rd commented Apr 23, 2018

UPDATE: Files from my installation don't differ from the latest matomo 3.4.0 files (besides tmp/ of course) :)

@mattab mattab added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

No branches or pull requests

3 participants