Fatal Error when click "View Tracking code"


#1

A fatal error occurred

The following error just broke Piwik (v2.0.3-b7):

Call to undefined method Piwik\Plugins\PrivacyManager\Controller::isDntSupported()
in
/var/www/my_site/plugins/CoreAdminHome/Controller.php line 240
If this error continues to happen, there is a good chance to fix this issue by disabling one or more of the Third-Party plugins. You can enable them again in the Plugins or Themes page under settings at any time.

We appreciate if you send the error report to the Piwik team. (href="mailto:hello@piwik.org?subject=Fatal error in Piwik 2.0.3-b7&body=Call%20to%20undefined%20method%20Piwik%5CPlugins%5CPrivacyManager%5CController%3A%3AisDntSupported%28%29%20in%20%2Fvar%2Fwww%2F_my_site_%2Fplugins%2FCoreAdminHome%2FController.php%20240%20using%20PHP%205.5.6-1~dotdeb.1")


(Matthieu Aubry) #2

Thanks for the report, that’s very useful! i commented on the related ticket Remove DoNotTrack and Anonymize plugins and move them to PrivacyManager · Issue #4493 · matomo-org/matomo · GitHub


#3

in error.log:


2014/01/13 02:59:24 [error] 378#0: *142096 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to undefined method Piwik\Plugins\PrivacyManager\Controller::isDntSupported() in /var/www/z-gu.ru/stat/plugins/CoreAdminHome/Controller.php on line 240" while reading response header from upstream, client: 89.112.9.203, server: stat.z-gu.ru, request: "GET /index.php?module=CoreAdminHome&action=trackingCodeGenerator&idSite=1&period=range&date=previous7 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "stat.z-gu.ru", referrer: "http://stat.z-gu.ru/index.php?module=SitesManager&action=index&idSite=1&period=range&date=previous7"
2014/01/13 02:59:38 [error] 378#0: *142107 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Class 'Piwik\Plugins\PrivacyManager\DoNotTrackHeaderChecker' not found in /var/www/z-gu.ru/stat/plugins/PrivacyManager/PrivacyManager.php on line 80" while reading response header from upstream, client: 109.205.253.157, server: stat.z-gu.ru, request: "GET /piwik.php?action_name=%D0%92%D0%B0%D1%82%D1%80%D1%83%D1%88%D0%BA%D0%B8%20%D0%B4%D0%BB%D1%8F%20%D0%BA%D0%B0%D1%82%D0%B0%D0%BD%D0%B8%D1%8F%20%7C%20Go-Bike%20Evolution&idsite=6&rec=1&r=355761&h=2&m=59&s=14&url=http%3A%2F%2Fwww.go-bike.ru%2Fcatalog%2Ftarts%2F&urlref=http%3A%2F%2Fyandex.ru%2Fclck%2Fjsredir%3Ffrom%3Dyandex.ru%253Byandsearch%253Bweb%253B%253B%26text%3D%25D0%25B2%25D0%25B0%25D1%2582%25D1%2580%25D1%2583%25D1%2588%25D0%25BA%25D0%25B0%2520%25D0%25B4%25D0%25BB%25D1%258F%2520%25D0%25BA%25D0%25B0%25D1%2582%25D0%25B0%25D0%25BD%25D0%25B8%25D1%258F%26uuid%3D%26state%3DAiuY0DBWFJ4ePaEse6rgeAjgs2pI3DW99KUdgowt9XvqxGyo_rnZJpNjfFDg3rinzDp9m0vVDDsdtxcrEUP3YghwdGherO2qNwLmXZvBga70DlR8p-iugmdrzp5tvWv97qkwtc1xfz4vaVVyNf4lPMA_WRh-MYtxoqbihBoG6HYfyY2FAZ7HjC3hUUs9JZDX-thMsmMWtwgQMbSV83XSg3pLsMi4o6a3%26data%3DUlNrNmk5WktYejR0eWJFYk1LdmtxdDJtYVk3NXNyTVNBNXhaTTVZaEFEY0pfMkVoek81SDk0THFhc1FKSGxyd0N4azUxblRJS2hMTi1oNTl5MHpyb3ZoM3lSMVQwRzRwaEhHVk9UVC0tSjk3Q1prX1htU3RxQVhSbDFmQTNwRlg%26b64e%3D2%26sign%3D9bfc11a6c844ea604b0c04e03ba39468%26keyno%3D0%26l10n%3Dru%26mc%3D2.3219280948873626&_id=0b795b4bb48e4f74&_idts=1389553593&_idvc=3&_idn=0&_refts=1389581955&_viewts=1389573786&_ref=http%3A%2F%2Fyandex.ru%2Fclck%2Fjsredir%3Ffrom%3Dyandex.ru%253Byandsearch%253Bweb%253B%253B%26text%3D%25D0%25B2%25D0%25B0%25D1%2582%25D1%2580%25D1%2583%25D1%2588%25D0%25BA%25D0%25B0%2520%25D0%25B4%25D0%25BB%25D1%258F%2520%25D0%25BA%25D0%25B0%25D1%2582%25D0%25B0%25D0%25BD%25D0%25B8%25D1%258F%26uuid%3D%26state%3DAiuY0DBWFJ4ePaEse6rgeAjgs2pI3DW99KUdgowt9XvqxGyo_rnZJpNjfFDg3rinzDp9m0vVDDsdtxcrEUP3YghwdGherO2qNwLmXZvBga70DlR8p-iugmdrzp5tvWv97qkwtc1xfz4vaVVyNf4lPMA_WRh-MYtxoqbihBoG6HYfyY2FAZ7HjC3hUUs9JZDX-thMsmMW


(Matthieu Aubry) #4

This bug wax fixed in: Remove DoNotTrack and Anonymize plugins and move them to PrivacyManager · Issue #4493 · matomo-org/matomo · GitHub