|
Fatal error: Call to undefined method Mage_Reports_Model_Mysql4_Order_Collection::addCreateAtPeriodFilter() in /home/idcountr/public_html/app/code/core/Mage/Adminhtml/Block/Dashboard/Totals.php on line 51
Going to that line in Totals.php and commenting out “->addCreateAtPeriodFilter($period)” gets it working again - but it’s a hack.
Doing a search for the addCreateAtPeriodFilter() function across my install directory yeilds:
[root@host public_html]# fgrep -irl "addCreateAtPeriodFilter" * app/code/core/Mage/Adminhtml/Block/Dashboard/Totals.php app/code/core/Mage/Reports/Model/Mysql4/Order/Collection.php
Should addCreateAtPeriodFilter be defined anywhere else? It just looks like it can’t find the function - but I don’t know why.
|