• Resolved microcade

    (@microcade)


    Hi

    Tried to install this version of Paypal I am using 5.5.1 version of wordpress got the following error

    Fatal error: Uncaught Error: Call to a member function get_base_country() on null
    in /var/www/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-ips-handler.php on line 102

    Call stack:

    WC_Gateway_PPEC_IPS_Handler::is_supported()
    wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/settings/settings-ppec.php:15
    include()
    wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php:113
    WC_Gateway_PPEC::init_form_fields()
    wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/abstracts/abstract-wc-gateway-ppec.php:23
    WC_Gateway_PPEC::__construct()
    wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-paypal.php:12
    WC_Gateway_PPEC_With_PayPal::__construct()
    wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-with-spb.php:12
    WC_Gateway_PPEC_With_SPB::__construct()
    wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:94
    WC_Payment_Gateways::init()
    wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:70
    WC_Payment_Gateways::__construct()
    wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:43
    WC_Payment_Gateways::instance()
    wp-content/plugins/woocommerce/includes/class-woocommerce.php:846
    WooCommerce::payment_gateways()
    wp-content/plugins/latitude-pay-genoa-pay-integrations/includes/wc-latitudefinance-hooks.php:59
    get_gateway()
    wp-content/plugins/latitude-pay-genoa-pay-integrations/includes/wc-latitudefinance-hooks.php:33
    include_once()
    wp-content/plugins/latitude-pay-genoa-pay-integrations/includes/autoload.php:128
    WC_LatitudeFinance_Manager::woocommerce_init()
    wp-content/plugins/latitude-pay-genoa-pay-integrations/includes/autoload.php:79
    WC_LatitudeFinance_Manager::__construct()
    wp-content/plugins/latitude-pay-genoa-pay-integrations/includes/autoload.php:85
    WC_LatitudeFinance_Manager::instance()
    wp-content/plugins/latitude-pay-genoa-pay-integrations/includes/autoload.php:50
    wc_latitudefinance()
    wp-content/plugins/latitude-pay-genoa-pay-integrations/includes/autoload.php:56
    require_once()
    wp-content/plugins/latitude-pay-genoa-pay-integrations/LatitudeFinance.php:24
    wc_latitudepay_init()
    wp-includes/class-wp-hook.php:287
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-settings.php:409
    require_once()
    wp-config.php:97
    require_once()
    wp-load.php:37
    require_once()
    wp-admin/admin.php:34
    require_once()
    wp-admin/plugins.php:10

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ross V. a11n

    (@rossviviano)

    Automattic Happiness Engineer

    Hi there,

    It looks like something is conflicting with PayPal here (my guess is the latitude-pay-genoa-pay plugin, as it’s mentioned in the error). To test, first, you’ll want to change the theme on your site to Storefront, then see if the error goes away. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you. If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one to see where the issue is coming from. If you don’t want to test on your live site, then create a staging site using a plugin called WP Staging.

    Let us know how this goes!

    Ross

    Plugin Contributor AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

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