Fatal Error in WordPress 6.0.1
-
Info:
Wordpres Version: 6.0.1
Woocommerce Version: 6.7.0
Germanized Version: 3.9.8Since the update to WordPress Version 6.0.1 from 5.9, product variations dropdown menu is only displayed on some products.
The responsible shortcode triggering the error is: do_shortcode(‘[product_page id=”‘ . $product . ‘”]’).
This throws an fatal error to be found in the wc-logs folder.The responsible erroneous function is meta-boxes/class-wc-gzd-meta-box-product-data-variable.php in line 409 from the germanized plugin.
The log entry:
2022-07-24T21:31:57+00:00 CRITICAL Uncaught Error: Call to a member function get_parent_id() on bool in /var/www/html/wp-content/plugins/woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:409 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(307): WC_Germanized_Meta_Box_Product_Data_Variable::save(6032, 0) #1 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #2 /var/www/html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #3 /var/www/html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(563): do_action('woocommerce_sav...', 6032, 0) #4 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(2213): WC_Meta_Box_Product_Data::save_variations(6013, Object(WP_Post)) #5 /var/www/html/wp-includes/class-wp-hook.php(307): WC_AJAX::save_variations('') #6 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #7 /var/www/html/wp-includes/plugin.php(476): WP_Hook->do_action in /var/www/html/wp-content/plugins/woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php in Zeile 409
Will this be solved in the future or is this an error on my side.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal Error in WordPress 6.0.1’ is closed to new replies.