{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/11054","repository_url":"https://api.github.com/repos/piwik/piwik","labels_url":"https://api.github.com/repos/piwik/piwik/issues/11054/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/11054/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/11054/events","html_url":"https://github.com/piwik/piwik/issues/11054","id":196637273,"number":11054,"title":"Fatal error: Cannot redeclare class after upgrade or installation of 3.0.0","user":{"login":"zubfatal","id":10694500,"avatar_url":"https://avatars.githubusercontent.com/u/10694500?v=3","gravatar_id":"","url":"https://api.github.com/users/zubfatal","html_url":"https://github.com/zubfatal","followers_url":"https://api.github.com/users/zubfatal/followers","following_url":"https://api.github.com/users/zubfatal/following{/other_user}","gists_url":"https://api.github.com/users/zubfatal/gists{/gist_id}","starred_url":"https://api.github.com/users/zubfatal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zubfatal/subscriptions","organizations_url":"https://api.github.com/users/zubfatal/orgs","repos_url":"https://api.github.com/users/zubfatal/repos","events_url":"https://api.github.com/users/zubfatal/events{/privacy}","received_events_url":"https://api.github.com/users/zubfatal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-20T10:29:23Z","updated_at":"2016-12-26T00:58:32Z","closed_at":"2016-12-26T00:58:32Z","body":"Initially I installed Piwik 3.0.0, worked fine although some widgets failed to render, throwing \"Fatal error: Cannot redeclare class\" errors.\r\n\r\nI 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.\r\n\r\nFrom the dashboard of the tracked website:\r\n\r\n**Visits over time**\r\n`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`\r\n\r\n**Visits overview**\r\n`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`\r\n\r\n**Referer types**\r\n`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`\r\n\r\n* Debian 8.6\r\n* PHP 5.6.29 (php-fpm)\r\n* MySQL 5.5.53\r\n* nginx 1.6.2\r\n"},"comment":{"url":"https://api.github.com/repos/piwik/piwik/issues/comments/269144513","html_url":"https://github.com/piwik/piwik/issues/11054#issuecomment-269144513","issue_url":"https://api.github.com/repos/piwik/piwik/issues/11054","id":269144513,"user":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T00:58:32Z","updated_at":"2016-12-26T00:58:32Z","body":"As @tsteur pointed out, this sounds like a PHP cache issue. #10378"}}
{"actor":{"display_login":"mattab"}}