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\Config #14725

Closed
korn519 opened this issue Aug 2, 2019 · 3 comments
Closed

Cannot declare class Piwik\Config #14725

korn519 opened this issue Aug 2, 2019 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@korn519
Copy link

korn519 commented Aug 2, 2019

I use vesion is 3.11, PHP version is 7 .I have installed it on my windows.But it reported an error on centos6 when i want to install.

"Fatal error: Cannot declare class Piwik\Config, because the name is already in use in /home/nginxroot/matomodev/core/Config.php on line 43"

Has anyone ever met this?

@tsteur
Copy link
Member

tsteur commented Aug 2, 2019

@korn519 I recommend you remove all Matomo files again (except for config/config.ini.php in case you could finish the install) and then copy over the files again. We haven't heard of anything like this before and our tests don't show such an error.

@mattab
Copy link
Member

mattab commented Sep 25, 2019

fyi a similar report (with a different class name) was found today in the forums: https://forum.matomo.org/t/error-in-installation/34308

@korn519
Copy link
Author

korn519 commented Dec 16, 2019

I remove all files again.Thanks a lot.

@korn519 korn519 closed this as completed Dec 16, 2019
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants