I have recently created a staging environment. Back-end works fine. But when I load my staging site I get the following error:
Fatal error: Class 'Mage_Wishlist_Block_Customer_Sidebar' not found in /html/app/code/core/Mage/Core/Model/Layout.php on line 491
I have tried to fix it by clearing all kinds of Caches, and updating layout.php file (app/code/core/Mage/Core/Model/Layout.php):
$out .= $this->getBlock($callback[0])->$callback[1]();
replaced with this one.
$out .= $this->getBlock($callback[0])->{$callback[1]}();
It didn't work.
Can you please help me resolve this, please?
app/code/core/Mage/Wishlist/Block/Customer/Sidebar.php
exists and it is readable.