• Hi all, since latest update (v1.13), i’ve a fatal error like this:

    wp-content/plugins/addon-elements-for-elementor-page-builder/inc/bootstrap.php on line 404
    PHP Fatal error: Uncaught Error: Call to undefined function WTS_EAE\wc_get_checkout_url()

    Works with plugin v1.12.12.

    I’ve woocommerce Version 8.6.0, wordpress 6.4.3.

    Any idea?

    Thx.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi

    That’s strange. 1.13 is already active on a lot of sites and working fine.
    Can you share the System Info so that I can try to recrate the issue? You can find this information compiled at Elementor -> System Info inside your WP admin.

    Thread Starter popallo

    (@popallo)

    Hi Anand and thanks for your reply.

    This is what you ask:

    == Server Environment ==
    Operating System: Linux
    Software: LiteSpeed
    MySQL version: Debian 11 v10.5.23
    PHP Version: 8.1.27
    PHP Memory Limit: 512M
    PHP Max Input Vars: 10000
    PHP Max Post Size: 200M
    GD Installed: Yes
    ZIP Installed: Yes
    Write Permissions: All right
    Elementor Library: Connected

    == WordPress Environment ==
    Version: 6.4.3
    WP Multisite: No
    Max Upload Size: 200 Mo
    Memory limit: 40M
    Max Memory limit: 512M
    Permalink Structure: /blog/%postname%/
    Language: fr-FR
    Timezone: Europe/Paris
    Debug Mode: Inactive

    == Active Plugins ==
    Advanced Order Export For WooCommerce
    Version: 3.4.5

    Brevo – WooCommerce Email Marketing
    Version: 4.0.12
    Author: Brevo


    Easy WP SMTP
    Version: 2.2.0
    Author: Easy WP SMTP

    Elementor
    Version: 3.19.2
    Author: Elementor.com

    Elementor Addon Elements
    Version: 1.12.12
    Author: WPVibes

    Essential Addons for Elementor
    Version: 5.9.10
    Author: WPDeveloper

    PRO Elements
    Version: 3.18.3
    Author: PROElements.org

    The7 Elements
    Version: 2.7.8
    Author: Dream-Theme

    WooCommerce
    Version: 8.6.0
    Author: Automattic

    WooCommerce Checkout Manager
    Version: 7.4.3
    Author: QuadLayers

    WooCommerce PayPal Payments
    Version: 2.5.3
    Author: WooCommerce

    WooCommerce Stripe Gateway
    Version: 7.9.3
    Author: WooCommerce

    Thread Starter popallo

    (@popallo)

    Woocommerce has just been updated to Version 8.6.1 and I still get the same anomaly on the current version of the “Elementor Addon Elements” plugin.

    The previous version works without problems.

    Thread Starter popallo

    (@popallo)

    I think it’s because you call this:

    if (in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins')))) {
    	$checkout_url = wc_get_checkout_url();
    	$cart_url = wc_get_cart_url();
    }

    And you consider that woocommerce is loading.

    But in my case, the error comes from the homepage and woocommerce is unload.

    The plugin is active but not loaded on the homepage.

    • This reply was modified 9 months, 1 week ago by popallo.
    • This reply was modified 9 months, 1 week ago by popallo.
    Thread Starter popallo

    (@popallo)

    Suggestion:

    if ( class_exists( 'WooCommerce' ) ) {
      // code that requires WooCommerce
    } else {
      // you don't appear to have WooCommerce activated
    }

    What do you think about this approach?

    Hi

    We have released an update to fix this issue. Kindly update the plugin.

    Thread Starter popallo

    (@popallo)

    Hi, thank you for this update. I confirm that it works fine now.Hi ! Thx for the update, i confirm that it’s working well.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Fatal error undefined function WTS_EAE\wc_get_checkout_url()’ is closed to new replies.