• Resolved mtonk

    (@mtonk)


    When I upgraded our site to 2.3.0 today, I immediately get the following while loading our homepage:

    Fatal error: Uncaught Error: Call to undefined function is_checkout() in /home/wedreami/public_html/guides.maisonmiru.com/wp-content/plugins/klaviyo/inc/kla-analytics.php:29 Stack trace: #0 /home/wedreami/public_html/guides.maisonmiru.com/wp-includes/class-wp-hook.php(287): WPKlaviyoAnalytics->insert_analytics(”) #1 /home/wedreami/public_html/guides.maisonmiru.com/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #2 /home/wedreami/public_html/guides.maisonmiru.com/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/wedreami/public_html/guides.maisonmiru.com/wp-includes/script-loader.php(1999): do_action(‘wp_enqueue_scri…’) #4 /home/wedreami/public_html/guides.maisonmiru.com/wp-includes/class-wp-hook.php(287): wp_enqueue_scripts(”) #5 /home/wedreami/public_html/guides.maisonmiru.com/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #6 /home/wedreami/public_html/guides.maisonmiru.com/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 /home/wedreami/public_html/g in?/home/wedreami/public_html/guides.maisonmiru.com/wp-content/plugins/klaviyo/inc/kla-analytics.php?on line?29

    I’ve rolled back to 2.2.6 for now and everything is working properly again.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author klaviyo

    (@klaviyo)

    Hi @mtonk ,

    Can you share the WordPress and WooCommerce version you are on?

    Best,
    Klaviyo

    Thread Starter mtonk

    (@mtonk)

    I’m on WordPress 5.5.1. I don’t have WooCommerce installed, which I’m guessing is the issue…

    We use the plugin for a signup form in our footer. Also open to other suggestions if this isn’t the best way to do it.

    Plugin Author klaviyo

    (@klaviyo)

    Hi @mtonk,

    The is_checkout() function is a WooCommerce function which would explain the fatal error you are seeing. If you install the plugin, you should see the error go away.

    Can you write into [email protected] so we can take a further look into this? Please include the PHP version, WordPress version you are using as well

    Best,
    Klaviyo

    Thread Starter mtonk

    (@mtonk)

    Installing WooCommerce seems like a fairly heavyhanded solution…

    Will email and keep the previous version installed for now.

    Plugin Author klaviyo

    (@klaviyo)

    Hi @mtonk – we will be releasing v2.3.1 which will make sure you don’t need to download WC as well. Please be on the lookout for 2.3.1 this morning.

    Best,
    Klaviyo

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘2.3.0 fatal error’ is closed to new replies.