• Resolved CamZL1

    (@danishhaidri)


    Hello,

    We just received these errors. Please advise how to fix them? 
    
    An error of type E_ERROR was caused in line 1346 of the file /home/website/webapps/website/wp-content/plugins/woocommerce/includes/class-wc-checkout.php. Error message: Uncaught Error: Call to a member function meta_exists() on null in /home/website/webapps/website/wp-content/plugins/woocommerce/includes/class-wc-checkout.php:1346
    
    Stack trace:
    
    #0 /home/website/webapps/website/wp-content/plugins/payment-gateways-per-product-categories-for-woocommerce/includes/class-alg-wc-pgpp-core.php(154): WC_Checkout->get_value()
    
    #1 /home/website/webapps/website/wp-includes/class-wp-hook.php(308): Alg_WC_PGPP_Core->filter_available_payment_gateways_per_category()
    
    #2 /home/website/webapps/website/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    
    #3 /home/website/webapps/website/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(163): apply_filters()
    
    #4 /home/website/webapps/website/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/services.php(1322): WC_Payment_Gateways->get_available_payment_gateways()
    
    #5 /home/website/webapps/website/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}()
    
    #6 /home/website/webapps/website/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(56): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory()
    
    #7 /home/website/webapps/website/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/services.php(1381): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get()
    
    #8 /home/website/webapps/website/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule->WooCommerce\PayPalCommerce\WcGateway\{closure}()
    
    #9 /home/website/webapps/website/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(56): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory()
    
    #10 /home/website/webapps/website/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeContainer.php(53): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get()
    
    #11 /home/website/webapps/website/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(61): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get()
    
    #12 /home/website/webapps/website/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(161): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}()
    
    #13 /home/website/webapps/website/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(128): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator()
    
    #14 /home/website/webapps/website/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(62): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->getCached()
    
    #15 /home/website/webapps/website/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/WCGatewayModule.php(263): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get()
    
    #16 /home/website/webapps/website/wp-includes/class-wp-hook.php(308): WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule->WooCommerce\PayPalCommerce\WcGateway\{closure}()
    
    #17 /home/website/webapps/website/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    #18 /home/website/webapps/website/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    #19 /home/website/webapps/website/wp-settings.php(617): do_action()
    
    #20 /home/website/webapps/website/wp-config.php(223): require_once('...')
    
    #21 /home/website/webapps/website/wp-load.php(50): require_once('...')
    
    #22 /home/website/webapps/website/wp-admin/admin.php(34): require_once('...')
    
    #23 {main}
    
    ? thrown
Viewing 4 replies - 1 through 4 (of 4 total)
  • Roxy

    (@roxannestoltz)

    Hi @danishhaidri ,

    Thanks for reaching out!

    I understand that you have these errors on your site and would like to know how to fix this, correct?

    I’d suggest performing a full conflict test to rule out any theme/plugin conflicts which may be causing these errors.

    To perform a full conflict test, you can do the following:

    If the issue is no longer present, it means there was a conflict, and you can reactivate the theme or plugins one by one (gradually) until the cause of the issue is found, more info about running a conflict test is here.

    You can clone your site to a staging environment and perform tests without modifying your live site or impacting customers. This is possible to do it using the free WP Staging plugin.

    If the conflict test makes no difference, please can you share a copy of your sites System Status Report which can be found by navigating to WooCommerce?→?Status. Select?Get system report?and then?Copy for support.

    Once you have this, please share the results in your response here.

    Cheers!

    Thread Starter CamZL1

    (@danishhaidri)

    Hi @roxannestoltz ,

    I have already emailed the status report to support. Can you please check with them?

    Roxy

    (@roxannestoltz)

    Hi @danishhaidri ,

    Please clarify if you reached out to support via WooCommerce.com → My Account → Support?

    If so, please can you share the ticket number you received when submitting a request so that we can have a look?

    Cheers!

    Roxy

    (@roxannestoltz)

    Hi @danishhaidri ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘E_Error’ is closed to new replies.