Divi Builder – WooCoommerce – Product Preview loads when edit product page

#338711
  • Resolved Konstantin
    Rank Math free

    Hello Rank Math team,

    we are using your plugin on our WooCommerce store which is created through Divi builder. I am facing the issue that when editing a product it loads additional to the product page in second tab a preview of the product page. I deactivated all plugins besides of Rank Math and Woo and the problem persist. When I change the theme to a WordPress standard theme the issue disappears so it seems to be an issue between Divi and Rank Math.

    The issue is pretty annoying as this happens when I edit a Divi module within the product too. So every time I make changes on the product layout it loads a couple additional pages with the preview.

    Do you have any solution for this?

    Kind regards,
    Konstantin

Viewing 11 replies - 1 through 11 (of 11 total)
  • Azib Yaqoob
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    You must check the server’s PHP values that are not too low to handle your site by going to WordPress dashboard > Tools > Site Health > Info tab > Server.

    If the values are low, please contact your web host and ask them to set the following values:

    
    PHP Memory Limit: 512M
    Max input time: 150
    PHP time limit: 120
    PHP max input variables: 1000
    

    I hope that helps. Looking forward to your update.

    Thank you.

    Hello Azib Yaqoob,

    thanks for your reply. We have following settings:

    PHP Memory Limit: 512M
    Max input time: 600
    PHP time limit: 600
    PHP max input variables: 10000

    What else can we do?

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress login 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.

    Azib Yaqoob
    Rank Math business

    Hello,

    Kindly also share the website URL in the sensitive data section so that we can take a look at the issue and offer our assistance.

    Looking forward to your update.

    Thank you

    Hello,

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

    Thank you.

    Azib Yaqoob
    Rank Math business

    Hello,

    We were able to replicate this issue on our end. Since you are using Divi builder and a previous version of the plugin, we recommend that you update the Rank Math Free & PRO plugins to the latest version. In the latest update, we addressed some issues related to Divi, this might solve your issue.
    https://rankmath.com/changelog/free/

    If it does not then, 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.

    We really look forward to helping you.

    Hello Azib Yaqoob,

    I updated Rank Math but it did not fix the issue.

    Thanks for your detailed guide about troubleshooting. I followed every step and it led me to the same issue:

    Only when Divi, WooCommerce and RankMath are activated the issue appears. If I switch themes it disappears. So there is a conflict between Rank Math and Divi and WooCommercer. When I deactivate Rank Math it does not open the second tab.

    Do you have any solution?

    Kind regards,
    Konstantin

    Hello,

    We would like to further investigate the issue.

    Kindly share the error logs from your server and enable WordPress debugging mode so we can see the error logs on your WP backend as well.

    You may contact your hosting provider for the error logs if you are not sure.

    Looking forward to helping you.

    Hello Jeremy,

    thanks for your reply. Unfortunately it is not possible to provide access to the server log files. You would need to have administrator access to the hosting provider and we have several websites there from different clients. Anyway, I activated the wp debug log and the server log. Then I activated troubleshooting mode and only Rank Math, WooCommerce and Divi. Then I can see following error in wp debug log, when I edit a product page and the second tab pops up:

    #6 /home/wp/disk/wordpress/wp-includes/sho in /home/wp/disk/wordpress/wp-content/plugins/woocommerce/templates/single-product/price.php on line 25
    #5 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3272): ET_Builder_Module_Woocommerce_Price->render()
    #4 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/module/woocommerce/Price.php(227): ET_Builder_Module_Woocommerce_Price::get_price()
    #3 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/module/woocommerce/Price.php(212): et_builder_wc_render_module_template()
    #2 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/feature/woocommerce-modules.php(1062): woocommerce_template_single_price()
    #1 /home/wp/disk/wordpress/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1620): wc_get_template()
    #0 /home/wp/disk/wordpress/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    Stack trace:
    [17-Feb-2022 20:47:08 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_price_html() on null in /home/wp/disk/wordpress/wp-content/plugins/woocommerce/templates/single-product/price.php:25
    [17-Feb-2022 20:47:08 UTC] PHP Notice: Trying to get property 'comment_status' of non-object in /home/wp/disk/wordpress/wp-includes/comment-template.php on line 1244
    [17-Feb-2022 20:47:03 UTC] PHP Notice: Undefined index: normal in /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/functions.php on line 3937
    #6 /home/wp/disk/wordpress/wp-includes/sho in /home/wp/disk/wordpress/wp-content/plugins/woocommerce/templates/single-product/price.php on line 25
    #5 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3272): ET_Builder_Module_Woocommerce_Price->render()
    #4 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/module/woocommerce/Price.php(227): ET_Builder_Module_Woocommerce_Price::get_price()
    #3 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/module/woocommerce/Price.php(212): et_builder_wc_render_module_template()
    #2 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/feature/woocommerce-modules.php(1062): woocommerce_template_single_price()
    #1 /home/wp/disk/wordpress/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1620): wc_get_template()
    #0 /home/wp/disk/wordpress/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    Stack trace:
    [17-Feb-2022 20:47:03 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_price_html() on null in /home/wp/disk/wordpress/wp-content/plugins/woocommerce/templates/single-product/price.php:25
    [17-Feb-2022 20:47:03 UTC] PHP Notice: Trying to get property 'comment_status' of non-object in /home/wp/disk/wordpress/wp-includes/comment-template.php on line 1244
    [17-Feb-2022 20:46:57 UTC] PHP Notice: Undefined index: normal in /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/functions.php on line 3937 

    The server log does show me something similar but for a different timestamp:

    
    #5 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3272): ET_Builder_Module_Woocommerce_Price->render()" while reading response header from upstream, client: 212.87.135.169, server: shop.traum-fabrik.de, request: "POST /wp-admin/admin-ajax.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/wordpress.php-fpm.sock:", host: "shop.traum-fabrik.de", referrer: "https://shop.traum-fabrik.de/produkt/daunenkissen-classic/?et_fb=1&et_bfb=1&PageSpeed=off"
    #4 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/module/woocommerce/Price.php(227): ET_Builder_Module_Woocommerce_Price::get_price()
    #3 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/module/woocommerce/Price.php(212): et_builder_wc_render_module_template()
    #2 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/feature/woocommerce-modules.php(1062): woocommerce_template_single_price()
    #1 /home/wp/disk/wordpress/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1620): wc_get_template()
    #0 /home/wp/disk/wordpress/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    Stack trace:
    2022/02/17 16:38:13 [error] 8625#8625: *11512 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_price_html() on null in /home/wp/disk/wordpress/wp-content/plugins/woocommerce/templates/single-product/price.php:25
    #5 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3272): ET_Builder_Module_Woocommerce_Price->render()" while reading response header from upstream, client: 212.87.135.169, server: shop.traum-fabrik.de, request: "POST /wp-admin/admin-ajax.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/wordpress.php-fpm.sock:", host: "shop.traum-fabrik.de", referrer: "https://shop.traum-fabrik.de/produkt/kopfkissen-straeumle/?et_fb=1&et_bfb=1&PageSpeed=off"
    #4 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/module/woocommerce/Price.php(227): ET_Builder_Module_Woocommerce_Price::get_price()
    #3 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/module/woocommerce/Price.php(212): et_builder_wc_render_module_template()
    #2 /home/wp/disk/wordpress/wp-content/themes/Divi/includes/builder/feature/woocommerce-modules.php(1062): woocommerce_template_single_price()
    #1 /home/wp/disk/wordpress/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1620): wc_get_template()
    #0 /home/wp/disk/wordpress/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    Stack trace:
    2022/02/17 16:37:29 [error] 8625#8625: *11512 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_price_html() on null in /home/wp/disk/wordpress/wp-content/plugins/woocommerce/templates/single-product/price.php:25

    Does this help you?

    Kind regards,
    Konstantin

    Hello,

    We are already aware of the issue but the issue isn’t coming from Rank Math. The issue is in Divi and happens with both Rank Math and Yoast. So this will need to be resolved by their team.

    You can get in touch with their support as they will need to release a fix for the issue. We are also getting in touch with them to get this issue resolved as soon as possible.

    In the meantime, if you need any other assistance, please feel free to let us know. We are here to help.

    Thank you.

    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 11 replies - 1 through 11 (of 11 total)

The ticket ‘Divi Builder – WooCoommerce – Product Preview loads when edit product page’ is closed to new replies.