Title: Issue with plugin in new directory
Last modified: August 24, 2016

---

# Issue with plugin in new directory

 *  [Willrc](https://wordpress.org/support/users/willrc/)
 * (@willrc)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/issue-implementing/)
 * We have three copies our store where the blog is integrated. Live, staging and
   one on our local machine. On each of them, there is an error: “Fatal error: Call
   to a member function getLayout() on a non-object in /home/servername/public_html/
   staging/journal/wp-content/plugins/magento-wordpress-integration/mwi.php on line
   25”.
 * We have just moved directory on the server. Everything is fine when we set the
   store to the original directory where the plugin was installed. However while
   moving all the files across, we can’t get it to work in the new directory. There
   are paths in database where we changed the url, e.g. mwi_options -> magepath.
   Without success. Any suggestions would be greatly appreciated.
 * [https://wordpress.org/plugins/magento-wordpress-integration/](https://wordpress.org/plugins/magento-wordpress-integration/)

The topic ‘Issue with plugin in new directory’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [Willrc](https://wordpress.org/support/users/willrc/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/issue-implementing/)
 * Status: not resolved