Title: Member function getLayout() problem
Last modified: April 27, 2018

---

# Member function getLayout() problem

 *  [csem](https://wordpress.org/support/users/csem/)
 * (@csem)
 * [8 years ago](https://wordpress.org/support/topic/member-function-getlayout-problem/)
 * Hello,
 * I have face one error message after Magento version update in 1.9.3.8
 * The error message is:-
 * Fatal error: Call to a member function getLayout() on a non-object in magento-
   wordpress-integration/mwi.php on line 110
 * So can you please tell me what’s wrong after Magento update

Viewing 1 replies (of 1 total)

 *  [stevensagaar](https://wordpress.org/support/users/stevensagaar/)
 * (@stevensagaar)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/member-function-getlayout-problem/#post-10353377)
 * Copy the functions.php from **app/code/core/Mage/Core/** to **app/code/local/
   Mage/Core/**
 * and change **function __()** function
 * from
 * > function __(){
   >  return Mage::app()->getTranslator()->translate(func_get_args());}
 * to
 * > if(!function_exists(‘__’)) { function __() { return Mage::app()->getTranslator()-
   > >translate(func_get_args()); } }

Viewing 1 replies (of 1 total)

The topic ‘Member function getLayout() problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/magento-wordpress-integration_1f262e.
   svg)
 * [Magento Wordpress Integration](https://wordpress.org/plugins/magento-wordpress-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/magento-wordpress-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/magento-wordpress-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/magento-wordpress-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/magento-wordpress-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/magento-wordpress-integration/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [stevensagaar](https://wordpress.org/support/users/stevensagaar/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/member-function-getlayout-problem/#post-10353377)
 * Status: not resolved