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

Open
korn519 opened this issue Aug 2, 2019 · 1 comment

Comments

@korn519
Copy link

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

This comment has been minimized.

Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.