• Hi,

    With latest WordPress, WooCommerce and up-to-date plugins Query Monitor is displaying a PHP Error Notices (2) for this plugin:

    Notice #1:

    Error (E_NOTICE): “Undefined property: WC_PICKUP_STORE::$wps_tax_status” at ./wp-content/plugins/wc-pickup-store/includes/wps-functions.php:457.

    Call Stack:

    ./wp-content/plugins/wc-pickup-store/includes/wps-functions.php:457:457
    Decalog\L\PhpListener->handle_error()
    wp-content/plugins/wc-pickup-store/includes/wps-functions.php:457
    wps_get_tax_status()
    wp-content/plugins/wc-pickup-store/includes/class-wps-init.php:77
    WC_PICKUP_STORE->calculate_shipping()
    wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php:233
    WC_Shipping_Method->get_rates_for_package()
    wp-content/plugins/woocommerce/includes/class-wc-shipping.php:348
    WC_Shipping->calculate_shipping_for_package()
    wp-content/plugins/woocommerce/includes/class-wc-shipping.php:260
    WC_Shipping->calculate_shipping()
    wp-content/plugins/woocommerce/includes/class-wc-cart.php:1420
    WC_Cart->calculate_shipping()
    wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:339
    WC_Cart_Totals->get_shipping_from_cart()
    wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:850
    WC_Cart_Totals->calculate_shipping_totals()
    wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:144
    WC_Cart_Totals->calculate()
    wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:134
    WC_Cart_Totals->__construct()
    wp-content/plugins/woocommerce/includes/class-wc-cart.php:1398
    WC_Cart->calculate_totals()
    wp-includes/class-wp-hook.php:301
    do_action('woocommerce_add_to_cart')
    wp-content/plugins/woocommerce/includes/class-wc-cart.php:1276
    WC_Cart->add_to_cart()
    wp-content/plugins/woocommerce/includes/class-wc-form-handler.php:918
    WC_Form_Handler::add_to_cart_handler_variable()
    wp-content/plugins/woocommerce/includes/class-wc-form-handler.php:790
    WC_Form_Handler::add_to_cart_action()
    wp-includes/class-wp-hook.php:303
    do_action('wp_loaded')
    wp-settings.php:600

    Notice #2:
    Error (E_NOTICE): “Undefined property: WC_PICKUP_STORE::$wps_tax_status” at ./wp-content/plugins/wc-pickup-store/includes/wps-functions.php:466.

    Call Stack:

    ./wp-content/plugins/wc-pickup-store/includes/wps-functions.php:466:466
    Decalog\L\PhpListener->handle_error()
    wp-content/plugins/wc-pickup-store/includes/wps-functions.php:466
    wps_get_tax_status()
    wp-content/plugins/wc-pickup-store/includes/class-wps-init.php:77
    WC_PICKUP_STORE->calculate_shipping()
    wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php:233
    WC_Shipping_Method->get_rates_for_package()
    wp-content/plugins/woocommerce/includes/class-wc-shipping.php:348
    WC_Shipping->calculate_shipping_for_package()
    wp-content/plugins/woocommerce/includes/class-wc-shipping.php:260
    WC_Shipping->calculate_shipping()
    wp-content/plugins/woocommerce/includes/class-wc-cart.php:1420
    WC_Cart->calculate_shipping()
    wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:339
    WC_Cart_Totals->get_shipping_from_cart()
    wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:850
    WC_Cart_Totals->calculate_shipping_totals()
    wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:144
    WC_Cart_Totals->calculate()
    wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:134
    WC_Cart_Totals->__construct()
    wp-content/plugins/woocommerce/includes/class-wc-cart.php:1398
    WC_Cart->calculate_totals()
    wp-includes/class-wp-hook.php:301
    do_action('woocommerce_add_to_cart')
    wp-content/plugins/woocommerce/includes/class-wc-cart.php:1276
    WC_Cart->add_to_cart()
    wp-content/plugins/woocommerce/includes/class-wc-form-handler.php:918
    WC_Form_Handler::add_to_cart_handler_variable()
    wp-content/plugins/woocommerce/includes/class-wc-form-handler.php:790
    WC_Form_Handler::add_to_cart_action()
    wp-includes/class-wp-hook.php:303
    do_action('wp_loaded')
    wp-settings.php:600

    Version: WC Pickup Store 1.7.3, PHP 7.4

    Thank you in advance for the fix, best regards,

    Gyula

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Undefined Property PHP Notice in Query Monitor’ is closed to new replies.