Rank math + Divi + Woocommerce = i can’t save my product pages

#401622
  • Resolved Guillaume Devaux
    Rank Math free

    hi there,

    I use Rank Divi on a Woocommerce site.
    Once Rank Math plugin is activated i get a bug.
    I can’t save my products pages anymore, i get a divi error message saying save has not been performed.
    Plus : when i open a product page in edit mode, i get a blank pop up.

    Have you stumbled upon this issue before ?
    thx

Viewing 6 replies - 1 through 6 (of 6 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting the support and we regret the inconvenience caused.

    We’ve seen this issue in the past but it was already fixed.

    Please ensure that you’re using the latest versions of Rank Math and Divi and see if that helps.

    If the issue persists, assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Please let us know how that goes.

    ok i have just done a copy of the site for testing purpose.
    I desactivated all plugins except Woocommerce and Rank Math. I still have the issue. So it’s not a plugin compatibility issue apparently.

    What would be the solution from here please ? Divi teams sent me to you 🙂
    Please don’t send me back to them…

    Prabhat
    Rank Math agency

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    done ! it’s a test server so no worries. thx !

    Hello,

    Thank you for sharing the FTP access. After I set WP_DEBUG constant to true in the wp-config.php file, the following errors were logged in the debug.log file:

    
    [08-Jun-2022 13:44:47 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_price_html() on null in /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/plugins/woocommerce/templates/single-product/price.php:25
    Stack trace:
    #0 /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    #1 /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1628): wc_get_template('single-product/...')
    #2 /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/themes/Divi/includes/builder/feature/woocommerce-modules.php(1115): woocommerce_template_single_price()
    #3 /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/themes/Divi/includes/builder/module/woocommerce/Price.php(212): et_builder_wc_render_module_template('woocommerce_tem...', Array)
    #4 /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/themes/Divi/includes/builder/module/wooco in /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/plugins/woocommerce/templates/single-product/price.php on line 25
    [08-Jun-2022 13:45:26 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1.
    [08-Jun-2022 13:45:26 UTC] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1.
    [08-Jun-2022 13:45:28 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_price_html() on null in /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/plugins/woocommerce/templates/single-product/price.php:25
    Stack trace:
    #0 /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    #1 /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1628): wc_get_template('single-product/...')
    #2 /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/themes/Divi/includes/builder/feature/woocommerce-modules.php(1115): woocommerce_template_single_price()
    #3 /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/themes/Divi/includes/builder/module/woocommerce/Price.php(212): et_builder_wc_render_module_template('woocommerce_tem...', Array)
    #4 /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/themes/Divi/includes/builder/module/wooco in /home/zpsb5177/myTiger-Preprod/36ef-fb17f4ea31bc.wptiger.fr/wp-content/plugins/woocommerce/templates/single-product/price.php on line 25
    

    These errors are coming from the Divi team and I found the source which triggers this error. When I comment the code (‘woocommerce_template_single_add_to_cart’) on line 908 in divi/includes/builder/feature/woocommerce-modules.php file, the update works fine.

    We are still checking why these error is getting triggered only when the Rank Math plugin is active and we’ll let you know as soon as we find the cause of this. In the meantime, please share this error log with the Divi team too. They might already know why this errors is getting triggered.

    I hope that helps.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The ticket ‘Rank math + Divi + Woocommerce = i can’t save my product pages’ is closed to new replies.