• Resolved xKatka

    (@xkatka)


    After setting this plugin I got:

    Fatal error: Uncaught Error: Class 'cod' not found in .....wp-content/plugins/woocommerce-pay-for-payment/admin/class-pay4pay-admin.php:209 Stack trace: #0 .........wp-includes/plugin.php(525): Pay4Pay_Admin->update_payment_options('') #1 ........wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-checkout.php(370): do_action('woocommerce_upd...') #2 ..........wp-includes/plugin.php(525): WC_Settings_Payment_Gateways->save('') #3 ........wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(79): do_action('woocommerce_set...') #4 /nfsmnt/hosting1_2/0/a/0afd38f7-1f8 in .......wp-content/plugins/woocommerce-pay-for-payment/admin/class-pay4pay-admin.php on line 209

    Any ideas?

    https://www.ads-software.com/plugins/woocommerce-pay-for-payment/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Change lines…

    209 $class = new $current_section();
    210 $prefix = 'woocommerce_'.$class->id;

    For

    209 $prefix = 'woocommerce_'.$current_section;

    erase line
    $class = new $current_section();

    $current_section It is not a class, is a key.

    This work for my.

    Best regards

    Thread Starter xKatka

    (@xkatka)

    Hi, many thanks.

    Disable on Free Shipping is still not working. Do you know how to fix it?
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error WooCommerce 2.6’ is closed to new replies.