Import Throws PHP Error
-
I exported sermons at crossroadslive.com using the Import/Export tool included in the plugin (WP 4.9.6, Sermon Manager 2.12.5) and attempted to import the file to our new site under development at dev.crossroadslive.com (WP 4.9.6, Sermon Manager 2.12.5) and got this error:
Notice: Undefined index: id in /var/www/dev.crossroadslive.com/public_html/wp-content/plugins/sermon-manager-for-wordpress/includes/admin/import/class-sm-import-sm.php on line 211
Notice: Undefined index: file in /var/www/dev.crossroadslive.com/public_html/wp-content/plugins/sermon-manager-for-wordpress/includes/admin/import/class-sm-import-sm.php on line 213
Warning: file_get_contents(): Filename cannot be empty in /var/www/dev.crossroadslive.com/public_html/wp-content/plugins/sermon-manager-for-wordpress/includes/admin/import/class-sm-import-sm.php on line 900
Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/dev.crossroadslive.com/public_html/wp-content/plugins/sermon-manager-for-wordpress/includes/admin/import/class-sm-import-sm.php:219 Stack trace: #0 /var/www/dev.crossroadslive.com/public_html/wp-content/plugins/sermon-manager-for-wordpress/includes/admin/import/class-sm-import-sm.php(178): SM_Import_SM->handle_upload() #1 /var/www/dev.crossroadslive.com/public_html/wp-content/plugins/sermon-manager-for-wordpress/sermons.php(158): SM_Import_SM->import() #2 /var/www/dev.crossroadslive.com/public_html/wp-includes/class-wp-hook.php(286): SermonManager->{closure}(”) #3 /var/www/dev.crossroadslive.com/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /var/www/dev.crossroadslive.com/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /var/www/dev.crossroadslive.com/public_html/wp-admin/admin.php(156): do_action(‘admin_init’) #6 /var/www/dev.crossroadslive.com/public_html/wp-admin/edit.php(1 in /var/www/dev.crossroadslive.com/public_html/wp-content/plugins/sermon-manager-for-wordpress/includes/admin/import/class-sm-import-sm.php on line 219
Upon returning to the Import/Export screen, things look a bit funky: https://d.pr/free/i/dWyMLf Reimporting the database from just before attempting import showed no change.
Any ideas?
The page I need help with: [log in to see the link]
- The topic ‘Import Throws PHP Error’ is closed to new replies.