Demo import raises Fatal error
Hello,
I try to import the Webmaster Demo content.
I tried it in WP 4.4 first and then in WP 4.3.1 to be sure it's not a wp problem. Then I downgraded betheme from the newest version. To also make sure it's not a betheme problem (I downgraded from 10.9 to 1.8).
But still I get the same error when I try to import the "Webmaster" Demo:
Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in .wp-content/themes/betheme/functions/importer/import.php:103 Stack trace: #0 ./wp-content/themes/betheme/functions/importer/import.php(353): mfnImport->import_menu_location('be/webmaster/me...') #1 ./wp-includes/plugin.php(503): mfnImport->import('') #2 ./wp-admin/admin.php(236): do_action('appearance_page...') #3 ./wp-admin/themes.php(10): require_once('/srv/users/xxx...') #4 {main} thrown in ./wp-content/themes/betheme/functions/importer/import.php on line 103
thank you for helping me with this!
Malte
Comments
this means that your server is not fully compatible with WordPress. Demo settings can not be imported automatically because your server does not work with wp_remote_get() function which uses loopbacks. In such case, you must import settings manually.
Thanks!