-
Hi,
I am experiencing a critical issue when saving the woocommerce product build using Divi. From my debugging I found that it occurs when the Rank Math is active.
I see following record in the error logs:
2022/01/11 01:46:12 [error] 7151#7151: *2564 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_sku() on null in /www/safeguardingchildren_596/public/wp-content/plugins/woocommerce/templates/single-product/meta.php:28
Stack trace:
#0 /www/safeguardingchildren_596/public/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
#1 /www/safeguardingchildren_596/public/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1638): wc_get_template(‘single-product/…’)
#2 /www/safeguardingchildren_596/public/wp-content/themes/Divi/includes/builder/feature/woocommerce-modules.php(1104): woocommerce_template_single_meta()
#3 /www/safeguardingchildren_596/public/wp-content/themes/Divi/includes/builder/module/woocommerce/Meta.php(293): et_builder_wc_render_module_template(‘woocommerce_tem…’, Array)
#4 /www/safeguardingchildren_596/public/wp-content/themes/Divi/includes/builder/module/woocommerce/Meta.php(391): ET_Builder_Module_Woocommerce_Meta::get_meta(Array)
#5 /www/safeguardingchildren_59” while reading response header from upstream, client: 47.72.54.179, server: staging-safeguardingchildren.kinsta.cloud, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-safeguardingchildren.sock:”, host: “staging-safeguardingchildren.kinsta.cloud:54938”, referrer: “https://staging-safeguardingchildren.kinsta.cloud/product/safeguarding-and-child-protection-for-the-ece-sector/?et_fb=1&et_bfb=1&PageSpeed=off”
The ticket ‘Divi Woocommerce issue on Saving the product page’ is closed to new replies.