• Hey Guys,

    We are getting a PHP warning when we are with PHP8.0

    Warning: Undefined variable $categories in?/var/www/wp-content/plugins/klaviyo/includes/wck-cart-rebuild.php?on line?153
    [xyz.com/checkout/]
    [wp-content/plugins/klaviyo/includes/wck-cart-functions.php:105 wck_build_cart_data(), wp-content/plugins/klaviyo/includes/wck-cart-functions.php:136 wck_started_checkout_tracking(), wp-includes/class-wp-hook.php:308 load_started_checkout(), wp-includes/class-wp-hook.php:332 WP_Hook->apply_filters(), wp-includes/plugin.php:517 WP_Hook->do_action(), wp-includes/script-loader.php:2180 do_action(‘wp_enqueue_scripts’), wp-includes/class-wp-hook.php:308 wp_enqueue_scripts(), wp-includes/class-wp-hook.php:332 WP_Hook->apply_filters(), wp-includes/plugin.php:517 WP_Hook->do_action(), wp-includes/general-template.php:3043 do_action(‘wp_head’), wp-content/plugins/checkout-for-woocommerce/includes/Loaders/Redirect.php:230 wp_head(), wp-content/plugins/checkout-for-woocommerce/includes/Loaders/Redirect.php:192 Objectiv\Plugins\Checkout\Loaders\Redirect::cfw_wp_head(), wp-content/plugins/checkout-for-woocommerce/includes/Loaders/Redirect.php:56 Objectiv\Plugins\Checkout\Loaders\Redirect::head(), wp-content/plugins/checkout-for-woocommerce/includes/Loaders/Redirect.php:376 Objectiv\Plugins\Checkout\Loaders\Redirect::checkout(), wp-content/plugins/checkout-for-woocommerce/sources/php/functions.php:2132 Objectiv\Plugins\Checkout\Loaders\Redirect::template_redirect(), wp-includes/class-wp-hook.php:308 {closure}(), wp-includes/class-wp-hook.php:332 WP_Hook->apply_filters(), wp-includes/plugin.php:517 WP_Hook->do_action(), wp-includes/template-loader.php:13 do_action(‘template_redirect’), wp-blog-header.php:19 require_once(‘wp-includes/template-loader.php’), index.php:17 require(‘wp-blog-header.php’)]

Viewing 1 replies (of 1 total)
  • Plugin Author klaviyo

    (@klaviyo)

    Hi @ketuchetan thank you for your post. This issue will require a support ticket to be made so that the Support Engineering team can assist you with this. Can you please do the following:

    1. Please create a support ticket following this guide: https://help.klaviyo.com/hc/en-us/articles/115001002272-How-to-contact-support
    2. In your request, in addition to including the above error you are seeing, please paste the link to this forum post and also request that this support ticket be immediately assigned to the support engineering team
    3. The support engineering team will respond to your support ticket ASAP with next steps.
Viewing 1 replies (of 1 total)
  • The topic ‘PHP8.0 Warning: Undefined variable $categories’ is closed to new replies.