PHP error occurs when duplicating product
-
An error occurs every time a product is duplicated:
You may need the following information to troubleshoot the issue:
WordPress version 6.3
Current Theme: Woodmart Child (wersja 1.0.0)
Current plugin: PerfectWP – WC Omnibus (wersja 1.1.0)
PHP version: 8.0.30
Error details
===================An E_ERROR type error was caused on line 33 of the file srv/htdocs/wp-content/plugins/perfectwp-wc-omnibus/src/Managers/ListenerManager.php. Error message: Uncaught Exception: Listener not registered in /srv/htdocs/wp-content/plugins/perfectwp-wc-omnibus/src/Managers/ListenerManager.php:33
Stack trace:
#0 /srv/htdocs/wp-content/plugins/perfectwp-wc-omnibus/src/Support/DuplicatePostSupport.php(25): PerfectWPWCO\Managers\ListenerManager->unregister('PerfectWPWCO\\Li...')
#1 /wordpress/core/6.3/wp-includes/class-wp-hook.php(312): PerfectWPWCO\Support\DuplicatePostSupport->hookDuplicatePostPreCopy(Object(WC_Product_Variation))
#2 /wordpress/core/6.3/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
#3 /wordpress/core/6.3/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /srv/htdocs/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-duplicate-product.php(208): do_action('woocommerce_pro...', Object(WC_Product_Variation), Object(WC_Product_Variation))
#5 /srv/htdocs/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-duplicate-product.php(113): WC_Admin_Duplicate_Product->product_duplicate(Object(WC_Product_Variable))
#6 /wordpress/core/6.3/wp-includes/class-wp-hook.php(310): WC_Admin_Duplicate_Product->duplicate_product_action('')
#7 /wordpress/core/6.3/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)
#8 /wordpress/core/6.3/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#9 /wordpress/core/6.3/wp-admin/admin.php(419): do_action('admin_action_du...')
#10 /wordpress/core/6.3/wp-admin/edit.php(10): require_once('/wordpress/core...')
#11 {main} thrown
- The topic ‘PHP error occurs when duplicating product’ is closed to new replies.