I'm currently working on a site which is using two store views. For some reason the second store view is throwing an error.

Uncaught Error: Call to undefined method Smartwave_All_Model_Core_Layout::getMConfigResultByAlias() in /var/www/magento/app/design/frontend/universal/default/template/page/1column.phtml

This suggests that the following line of code is looking in Smartwave_All_Model_Core_Layout, whereas it should be looking in Meigee_Thememanager_Rewrite_Core_Layout

$header_wrapper_type = $this->getLayout()->getMConfigResultByAlias('header_wrapper_type');

How can I specify the correct namespace for this function?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.