{"id":7248884,"date":"2016-04-07T11:06:47","date_gmt":"2016-04-07T11:06:47","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/undefined-index-layout\/"},"modified":"2016-08-31T15:33:29","modified_gmt":"2016-08-31T15:33:29","slug":"undefined-index-layout","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/undefined-index-layout\/","title":{"rendered":"Undefined Index: Layout"},"content":{"rendered":"<p>We have instaleld the latest version of this and used it before however we are getting this error on one of our live servers: <\/p>\n<p><code>Notice: Undefined index: layout in \/usr\/share\/nginx\/domain.com\/wp-content\/plugins\/magento-wordpress-integration\/mwi.php on line 103 Fatal error: Call to a member function getLayout() on a non-object in \/usr\/share\/nginx\/domain.com\/wp-content\/plugins\/magento-wordpress-integration\/mwi.php on line 110<\/code><\/p>\n<p>We have no idea why and the log files are really not sharing light on it, <\/p>\n<p>We have changes open_basedir settings to allow cross VHOST access as these are in 2 seperate subdomains, all on the same server. <\/p>\n<p>Any help would be appreciated. <\/p>\n<p>Thankyou.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/magento-wordpress-integration\/<\/p>\n","protected":false},"template":"","class_list":["post-7248884","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7248884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7248884\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7248884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}