You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goals plugin on dashbaord Fatal error: Class 'Piwik_DataTable_Filter_AddColumnsProcessedMetrics' not found in /home/piwik/public_html/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php on line 18
#2544
BugFor errors / faults / flaws / inconsistencies etc.CriticalIndicates the severity of an issue is very critical and the issue has a very high priority.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
Goals plugin on dashbaord Fatal error: Class 'Piwik_DataTable_Filter_AddColumnsProcessedMetrics' not found in /home/piwik/public_html/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php on line 18
The class 'Piwik_DataTable_Filter_AddColumnsProcessedMetrics' that 'Piwik_DataTable_Filter_AddColumnsProcessedMetricsGoal' is trying to extend doesnt appear to be loaded.
By adding class 'Piwik_DataTable_Filter_AddColumnsProcessedMetrics' to '/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php' allows the class 'Piwik_DataTable_Filter_AddColumnsProcessedMetricsGoal' to extend and then the Goals plugin works.
Adding the following code before trying to extend the class fixes the issue as a temporary solution:
if (!class_exists('Piwik_DataTable_Filter_AddColumnsProcessedMetrics', false))
{
include(PIWIK_INCLUDE_PATH .'/core/DataTable/Filter/AddColumnsProcessedMetrics.php');
}
Patch attached
I think some sort of check for dependent classes should be introduced and should fail during automated tests.
PHP 5.3
Keywords: class extends epic fail
The text was updated successfully, but these errors were encountered:
BugFor errors / faults / flaws / inconsistencies etc.CriticalIndicates the severity of an issue is very critical and the issue has a very high priority.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
See reportings in http://forum.piwik.org/read.php?2,78979
Goals plugin on dashbaord Fatal error: Class 'Piwik_DataTable_Filter_AddColumnsProcessedMetrics' not found in /home/piwik/public_html/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php on line 18
The class 'Piwik_DataTable_Filter_AddColumnsProcessedMetrics' that 'Piwik_DataTable_Filter_AddColumnsProcessedMetricsGoal' is trying to extend doesnt appear to be loaded.
By adding class 'Piwik_DataTable_Filter_AddColumnsProcessedMetrics' to '/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php' allows the class 'Piwik_DataTable_Filter_AddColumnsProcessedMetricsGoal' to extend and then the Goals plugin works.
Adding the following code before trying to extend the class fixes the issue as a temporary solution:
if (!class_exists('Piwik_DataTable_Filter_AddColumnsProcessedMetrics', false))
{
include(PIWIK_INCLUDE_PATH .'/core/DataTable/Filter/AddColumnsProcessedMetrics.php');
}
Patch attached
I think some sort of check for dependent classes should be introduced and should fail during automated tests.
PHP 5.3
Keywords: class extends epic fail
The text was updated successfully, but these errors were encountered: