Upgraded to 1.5.1, and some plugins on my dashboard show the following error:
Fatal error: Class ‘Piwik_DataTable_Filter_AddColumnsProcessedMetrics’ not found in /home/nite/public_html/piw/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php on line 18
Also the actions tab shows the above error
When clicking on the UI Framework tab, i get the following error:
Fatal error: Class ‘Piwik_DataTable’ not found in /home/nite/public_html/piw/plugins/ExampleUI/API.php on line 77
Click on the Security tab in settings, i get the following error:
Fatal error: Class ‘Piwik_Http’ not found in /home/nite/public_html/piw/plugins/SecurityInfo/PhpSecInfo/Test/Application/php.php on line 34
Can someone please advise how to fix these issues, ive not seen them within the bugtracker?
The files exist, but your auto loader doesn’t load those class’s that are then to be extended.
Do you have errors disabled with your env!?
I’ve never had this issue before until Piwik 1.5.1, so unless you’ve got any idea’s why the issues happen, these are defects.
The last issue causes 404’s as the images dont exist, the code is wrong as it should check if the images exist in the themes directiory, instead it doesnt and still tries to load them.
logo and logo-header dont exist in themes, but they do in themes > default > images, so that is a defect too as i dont want your app causing 404s
I run Piwik with E_ALL | E_STRICT, display_errors = on, log_errors = on
I’ve looked through the code. API/API.php defaults to themes/default/images/logo.png and logo-header.png. It refers to themes/logo.png and logo-header.png if and only if: