Support » Plugin: Pay for Payment for WooCommerce » PHP Fatal error: on admin/class-pay4pay-admin.php on line 209

Viewing 12 replies - 1 through 12 (of 12 total)
  • Sem problem here.

    Also doesn’t disable payment when free shipping is availible. Despite it is set that it should.

    Please correct mistake. Thank you very much in advance.

    Hello,

    Same problem here.
    Any solution yet?

    Thanks and regards

    Hi,

    it’s the same for me!

    Thanks and regards

    Hi,
    i have the same problems:

    Fatal error: Class ‘paypal’ not found in /home/emporio3/public_html/wp-content/plugins/woocommerce-pay-for-payment/admin/class-pay4pay-admin.php on line 209

    Any solution?

    Tnx

    I have the same problem. The plugin it’s working and I only have the information error when I save the setting.

    Thread Starter bluantinoo

    (@bluantinoo)

    Semi-Solved.

    As suggested from AlexandrosZ on github, changing lines 209 and 210 of ./public_html/wp-content/plugins/woocommerce-pay-for-payment/admin/class-pay4pay-admin.php

    from

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

    to

    //$class = new $current_section();
    $prefix = 'woocommerce_'.$current_section;

    removes the error and let us saving stuff on payment methods options.

    BUT the option “Don’t charge this fee when free shipping is available.” is still not working

    Plugin Author Karolina Vyskocilova

    (@vyskoczilova)

    Fixed in the new version, please update to 2.0.0

    highor

    (@highor)

    This bug is back in 2.0.2

    PHP Fatal error: Unsupported operand types in
    plugins/woocommerce-pay-for-payment/admin/class-pay4pay-admin.php on line 264

    Marcel Oerlemans

    (@marceloerlemans)

    I think I resolved the issue, for me at least.
    On line 259 stood:
    $options += $extra;
    This has to be:
    $options = $extra;

    Plugin Author Karolina Vyskocilova

    (@vyskoczilova)

    @highor and @marceloerlemans this is not the same bug and answer you’d provided is not correct one (see the thread you opened: https://wordpress.org/support/topic/payment-broken-2/ )

    Marcel Oerlemans

    (@marceloerlemans)

    You’re right Karolina, you explained to me why my ‘solution’ wasn’t correct, but I can’t edit that anymore.. Thanks for the help!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘PHP Fatal error: on admin/class-pay4pay-admin.php on line 209’ is closed to new replies.