When I try to filtering report by date range in admin, It show me error like this.

Fatal error: Call to a member function setDateRange() on boolean in app/code/core/Mage/Reports/Model/Report.php on line 50

Any one have idea?

  • Please share your full code. – kunj Aug 11 '18 at 6:10
  • i have install two mageto in local in first magento it is working fine but in second magento it shows error – Sanjay Shiyal Aug 11 '18 at 6:12