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
Fatal error: Cannot redeclare class after upgrade or installation of 3.0.0 #11054
Comments
Moved the contents of the subfolder (/web/piwik2) to web root (/web) and it worked fine for 2-3 hours but it seems the errors have begun to popup again. |
Maybe have a look at #10378 Is maybe opcache and xcache enabled? |
Che significa? come posso risolvere?? |
come posso risolvere errore Aliplugin/libs/Requests/Requests.php on line 21 |
Initially I installed Piwik 3.0.0, worked fine although some widgets failed to render, throwing "Fatal error: Cannot redeclare class" errors.
I tried installing 2.17.1 and everything just worked, from within Piwik I attempted to upgrade to 3.0.0, which also worked, but again the same problems occurred.
From the dashboard of the tracked website:
Visits over time
Fatal error: Cannot redeclare class Piwik\Plugins\CoreVisualizations\Visualizations\Graph in /var/www/clients/client1/web8/web/piwik2/plugins/CoreVisualizations/Visualizations/Graph.php on line 26
Visits overview
Fatal error: Cannot redeclare class Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable in /var/www/clients/client1/web8/web/piwik2/plugins/CoreVisualizations/Visualizations/HtmlTable.php on line 23
Referer types
Fatal error: Cannot redeclare class Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable in /var/www/clients/client1/web8/web/piwik2/plugins/CoreVisualizations/Visualizations/HtmlTable.php on line 23
The text was updated successfully, but these errors were encountered: