• Resolved Not Just Code

    (@notjustcode)


    Having some trouble with my woocommerce site and looks like it’s being caused by the woocommerce_loop_add_to_cart_link apply filters call on line 78 of

    booking-system/addons/woocommerce/includes/class-woocommerce-category.php

    Line 78 looks like it’s missing $product as its second argument.

    This is causing other plugins which implement this hook and expect 2 arguments to cause a fatal error.

    Line 83 of class-woocommerce-category.php should therefore be:

    $DOPBSP->text(‘WOOCOMMERCE_VIEW_AVAILABILITY’)), $product);

    Matching line 72.

    Please would you check this and if necessary include this fix in your next update?

    Plugin Name: Pinpoint Booking System
    Version: 2.9.9.1.5
    Wordpress: 5.6

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Missing Arguement When Calling woocommerce_loop_add_to_cart_link’ is closed to new replies.