- This topic has 1 reply, 2 voices, and was last updated 3 years, 1 month ago by
Leo.
-
AuthorPosts
-
April 10, 2023 at 8:54 am #2604325
Patrick Firestone
We see an error when using the WP All Import plugin to do WooCommerce product imports using PHP 8. Our host (WPengine) downgraded to 7.4 temporarily, which seemed to have mitigated the issue. They advised that I report this to you as it was likely related to theme support for PHP 8. Error text below. Thank you. Any insight would be appreciated.
[Mon Apr 10 15:07:58.393598 2023] [php:error] [pid 4668] [client 68.52.89.28:0] PHP Fatal error: Uncaught TypeError: get_object_vars(): Argument #1 ($object) must be of type object, null given in /nas/content/live/crystalfarmdev/wp-includes/class-wp-post.php:266\nStack trace:\n#0 /nas/content/live/crystalfarmdev/wp-includes/class-wp-post.php(266): get_object_vars(NULL)\n#1 /nas/content/live/crystalfarmdev/wp-content/plugins/wp-all-import-pro/models/import/record.php(4666): WP_Post->__construct(NULL)\n#2 /nas/content/live/crystalfarmdev/wp-content/plugins/wp-all-import-pro/controllers/admin/import.php(2757): PMXI_Import_Record->process(‘<?xml version=”…’, Object(Closure), 1, false, ‘/pmxi_records’, 5)\n#3 /nas/content/live/crystalfarmdev/wp-content/plugins/wp-all-import-pro/wp-all-import-pro.php(761): PMXI_Admin_Import->process()\n#4 /nas/content/live/crystalfarmdev/wp-includes/class-wp-hook.php(308): PMXI_Plugin->adminInit(”)\n#5 /nas/content/live/crystalfarmdev/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)\n#6 /nas/content/live/crystalfarmdev/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#7 /nas/content/live/crystalfarmdev/wp-admin/admin.php(175): do_action(‘admin_init’)\n#8 {main}\n thrown in /nas/content/live/crystalfarmdev/wp-includes/class-wp-post.php on line 266, referer: https://crystalfarmdev.wpengine.com/wp-admin/admin.php?page=pmxi-admin-import&action=process
April 10, 2023 at 3:54 pm #2604698Leo
StaffCustomer SupportHi Patrick,
None of those errors are pointing to the theme so I’m not sure why they think it’s a theme issue – can you ask them to elaborate and explain?
Also, have you tested with a Twenty series WP theme activated?
-
AuthorPosts
- You must be logged in to reply to this topic.