• Resolved Daniele

    (@dabesa)


    Hi guys,

    Since version 3 I faced major issues:
    3.0: all the renewal payments (via WC Subscriptions) failed to be processed;
    3.0.1: the website stops working and gives error:

    Un errore di E_ERROR è stato causato nella linea 102 del file /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-ips-handler.php. Messaggio di errore: Uncaught Error: Call to a member function get_base_country() on null in /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-ips-handler.php:102
    Stack trace:
    #0 /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/settings/settings-ppec.php(12): WC_Gateway_PPEC_IPS_Handler->is_supported()
    #1 /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php(105): include(‘/home/web/…’)
    #2 /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php(27): WC_Gateway_PPEC->init_form_fields()
    #3 /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal.php(12): WC_Gateway_PPEC->__construct()
    #4 /home/web/sito.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/c

    The error goes away when I disable Woocommerce Payment Gateway per Product.

    Can you check?

    Thanks
    Daniele

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author dreamfox

    (@dreamfox)

    Hello Daniele,

    It look that the error came from this plugin:
    woocommerce-gateway-paypal-express-checkout
    what happens if you deactivatethat plugin?

    We installed it on our develop website but we can not reproduce the error.
    Can you tell us step by step what you do to see that error?

    Thread Starter Daniele

    (@dabesa)

    Hi Dreamfox,

    Thank you, since we rely on Paypal Express Checkout to collect payments and automatic renewals I could not try disabling it.
    I disabled instead Woocommerce Payment Gateway per Product and this was enough to solve the error.

    Btw, I’m talking about this one:
    https://it.www.ads-software.com/plugins/woocommerce-gateway-paypal-express-checkout/

    I replicated the problem in our test env:

    Un errore di E_ERROR è stato causato nella linea 102 del file /home/danieleb/dev.wp-ok.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-ips-handler.php. Messaggio di errore: Uncaught Error: Call to a member function get_base_country() on null in /home/danieleb/dev.wp-ok.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-ips-handler.php:102
    Stack trace:
    #0 /home/danieleb/dev.wp-ok.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/settings/settings-ppec.php(12): WC_Gateway_PPEC_IPS_Handler->is_supported()
    #1 /home/danieleb/dev.wp-ok.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php(105): include(‘/home/danieleb/…’)
    #2 /home/danieleb/dev.wp-ok.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php(27): WC_Gateway_PPEC->init_form_fields()
    #3 /home/danieleb/dev.wp-ok.it/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal.php(12): WC_Gateway_PPEC->__construct()
    #4 /home/danieleb/dev.wp-ok.it/wp-content/plugins/woocommerce-gateway-paypal-exp

    How can we troubleshoot this?
    And can you tell me if the bug in 3.0 was affecting automatic renewals?

    Thanks
    D

    Plugin Author dreamfox

    (@dreamfox)

    Hi,

    Our developers found the problem and working on that issue.
    We are working hard and expect to release new version within 24 hours.

    Plugin Author dreamfox

    (@dreamfox)

    please update to 3.0.2 and let me know the outcome please

    Hi,

    Updated to 3.0.2 but when active still breaks the site we use it on……

    Only option is to disable plugin or get a error that says:

    ‘The site is experiencing technical difficulties.’

    Has the update been tested??

    Thanks

    Thread Starter Daniele

    (@dabesa)

    Same for us, I wonder the same…

    Since the version 3.0 update, my website keeps crashing. I had to restore from backup and I have been waiting for 10 days for a fix, with 2 new updates, this issue is still not fixed. I am using 2.5.9 which is working fine. I am using wordpress version 5.2.3–en_GB and the latest woocommerce and ever other plugin is updated to the latest.

    Fix the bug or I have to look for another plugin.

    Plugin Author dreamfox

    (@dreamfox)

    We working hard on this issue. If yoy have not already. please create ticket @ https://support.dreamfoxmedia.com so we can inform you

    Plugin Author dreamfox

    (@dreamfox)

    @huntbev @harim @dabesa

    Do you have the plugin:
    https://it.www.ads-software.com/plugins/woocommerce-gateway-paypal-express-checkout/
    installed. if you disable that plugin is then our plugin working.

    We currently have 314 users running 3.02 with no problems. We need to finetune and see where the problem is. If you did not make any supportticket please do so @ support.dreamfoxmedia.com so we can help you with this.

    Thread Starter Daniele

    (@dabesa)

    Hi @dreamfox ,

    Yes we have the Paypal Express Checkout installed.
    Did you find the conflict and is there a solution coming soon?

    Thanks
    Daniele

    Plugin Author dreamfox

    (@dreamfox)

    Hello @dabesa ,

    We have fixed the issue in version 3.0.3

    Jeff C

    (@12steprecovery)

    I get the following error when I go to “You are just one step away – Complete “Woocommerce Payment Gateway Per Product” Activation Now”

    Uncaught Error: Call to a member function get_base_country() on null in /home/slaauk10/public_html/w2/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-ips-handler.php on line 102
    is_supported()
    wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/settings/settings-ppec.php:12
    include()
    wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php:105
    init_form_fields()
    wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php:27
    __construct()
    wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal.php:12
    __construct()
    wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:94
    init()
    wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:70
    __construct()
    wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:43
    instance()
    wp-content/plugins/woocommerce/includes/class-woocommerce.php:818
    payment_gateways()
    wp-content/plugins/woocommerce/includes/class-woocommerce.php:146
    __get()
    wp-content/plugins/woocommerce-product-payments/woocommerce-payment-gateway-per-product.php:259
    wpgpp_redux()
    wp-includes/class-wp-hook.php:286
    apply_filters()
    wp-includes/class-wp-hook.php:310
    do_action()
    wp-includes/plugin.php:465
    do_action()
    wp-settings.php:394
    require_once()
    wp-config.php:94
    require_once()
    wp-load.php:37
    require_once()
    wp-admin/admin.php:34
    The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

    Using 3.0.3

    Plugin Author dreamfox

    (@dreamfox)

    @12steprecovery : can you create a ticket with these details on https://support.dreamfoxmedia.com

    Our developers will then take a look and fix the problem

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Critical error in version 3’ is closed to new replies.