PHP Fatal Error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #98558
    Christian
    Guest

    PHP Fatal Error:
    PluginVersion 2.3.2, PHP 7.0

    [03-Jan-2018 21:05:07 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_available_payment_gateways() on null in /var/www/vhosts/xxx/httpdocs/wp-content/plugins/checkout-fees-for-woocommerce/includes/class-wc-checkout-fees.php:167
    Stack trace:
    #0 /var/www/vhosts/xxx/httpdocs/wp-includes/class-wp-hook.php(286): Alg_WC_Checkout_Fees->add_gateways_fees(Object(WC_Cart))
    #1 /var/www/vhosts/xxx/httpdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
    #2 /var/www/vhosts/xxx/httpdocs/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /var/www/vhosts/xxx/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1711): do_action('woocommerce_car...', Object(WC_Cart))
    #4 /var/www/vhosts/xxx/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(277): WC_Cart->calculate_fees()
    #5 /var/www/vhosts/xxx/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(777): WC_Cart_Totals->get_fees_from_c in /var/www/vhosts/xxx/httpdocs/wp-content/plugins/checkout-fees-for-woocommerce/includes/class-wc-checkout-fees.php on line 167
    #98559
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Christian,

    Could you please update plugin to v2.3.3 and let me know if this is fixed.

    Best regards,
    Tom

    #98560
    Christian
    Guest

    Thanxx, now it works fine!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Payment Gateway Based Fees and Discounts for WooCommerce’ is closed to new topics and replies.