• Resolved pcco

    (@pcco)


    We’re running into an error with Woocommerce and a Divi Child Theme created by a previous developer. We are trying to get a downloadable PDF product working (https://scienceforthechurch.org/product/album/). After adding to the cart and entering details for checkout, clicking the Place Order button gives an “Internal Server Error” notification and won’t complete checkout.

    It seems isolated to the child theme. When we switch to the Divi parent theme checkout works fine. Here’s the error we’re getting in the Woocommerce logs:

    2022-04-14T18:35:01+00:00 CRITICAL Uncaught Error: Call to undefined function et_builder_setting_is_on() in /home/windride/domains/scienceforthechurch.org/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php:1515
    Stack trace:
    #0 /home/windride/domains/scienceforthechurch.org/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(793): ET_Builder_Element::setup_advanced_styles_manager()
    #1 /home/windride/domains/scienceforthechurch.org/public_html/wp-content/themes/divi-child/modules/cbm.php(1868): ET_Builder_Element->__construct()
    #2 /home/windride/domains/scienceforthechurch.org/public_html/wp-includes/template.php(772): require('/home/windride/...')
    #3 /home/windride/domains/scienceforthechurch.org/public_html/wp-includes/template.php(716): load_template()
    #4 /home/windride/domains/scienceforthechurch.org/public_html/wp-includes/general-template.php(204): locate_template()
    #5 /home/windride/domains/scienceforthechurch.org/public_html/wp-content/themes/divi-child/functions.php(71): get_tem in /home/windride/domains/scienceforthechurch.org/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 1515

    Any ideas on solving the Call to undefined function error? Thank you!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @pcco,

    While checking the error log, I can see that there is a call to an undefined function et_builder_setting_is_on() on your Divi theme. Check if you have the latest version of your theme and if that doesn’t help please reach out to the Divi support team.

    I would recommend you temporarily switch to another theme, like Storefront, and disable all your plugins except for WooCommerce core, to see if that resolves the issue.

    If it does, please re-enable your features until it breaks again, and then contact the author of the conflicting plugin or Divi support if the theme is the culprit.

    You can read more about the process of testing for conflicts here:

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Cheers.

    Thread Starter pcco

    (@pcco)

    Thanks for the advice. The problem is that our previous developer created a Divi Child Theme with some heavy customizations for the look of our website, so using a different theme will get rid of those customizations. Any ideas on PHP changes to eliminate the conflict with Woocommerce?

    Margaret S. woo-hc

    (@margaretwporg)

    Hi @pcco

    Thanks for your response.

    created a Divi Child Theme with some heavy customizations

    That makes it even more important to check for a conflicting tool or code.

    using a different theme will get rid of those customizations

    That can be avoided by creating a duplicate/staging site instead of running the tests on your live production site. Many hosting providers offer site staging facilities, but if you don’t have such a feature, you can create one with the WP Staging plugin.

    Any ideas on PHP changes to eliminate the conflict with Woocommerce?

    The best way to identify and eliminate a conflicting plugin/theme is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict.

    For a more detailed explanation please refer to the documentation Mirko shared, on how to do a conflict test.

    Let us know how it goes.

    We haven’t heard back from you in a while, so I’m marking this thread closed for now – we’ll be here if and/or when you are ready to continue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Checkout “Internal Server Error” After Clicking Place Order’ is closed to new replies.