Cron Problem since Update 1.7.3

[ad_1]

Hi 🙂

Since the last update two days ago I my wp-cron.php fails when the plugin is activated.

I’m running PHP 8.1, WordPress 6.1.1, Woocommerce 7.4, all other plugins deactivated. Theme Twenty Twenty-One 1.7. I get the same error when running PHP 8.0.

Here’s the error (it’s very long):

PHP Fatal error:  Uncaught Error: Call to a member function meta_exists() on null in /wp-content/plugins/woocommerce/includes/class-wc-checkout.php:1346\nStack trace:\n#0 /wp-content/plugins/payment-gateways-per-product-categories-for-woocommerce/includes/class-alg-wc-pgpp-core.php(154): WC_Checkout-]get_value('billing_country')\n#1 /wp-includes/class-wp-hook.php(308): Alg_WC_PGPP_Core-]filter_available_payment_gateways_per_category(Array)\n#2 /wp-includes/plugin.php(205): WP_Hook-]apply_filters(Array, Array)\n#3 /wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(163): apply_filters('woocommerce_ava...', Array)\n#4 /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/services.php(1322): WC_Payment_Gateways-]get_available_payment_gateways()\n#5 /wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\\PayPalCommerce\\WcGateway\\WCGatewayModule::WooCommerce\\PayPalCommerce\\WcGateway\\{closure}(Object(WooCommerce\\PayPalCommerce\\Vendor\\Dhii\\Container\\DelegatingContainer))\n#6 /wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(56): WooCommerce\\PayPalCommerce\\Vendor\\Dhii\\Container\\DelegatingContainer-]invokeFactory(Object(Closure))\n#7 /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/services.php(1381): WooCommerce\\PayPalCommerce\\Vendor\\Dhii\\Container\\DelegatingContainer-]get('wcgateway.enabl...')\n#8 /wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\\PayPalCommerce\\WcGateway\\WCGatewayModule-]WooCommerce\\PayPalCommerce\\WcGateway\\{closure}(Object(WooCommerce\\PayPalCommerce\\Vendor\\Dhii\\Container\\DelegatingContainer))\n#9 /wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(56): WooCommerce\\PayPalCommerce\\Vendor\\Dhii\\Container\\DelegatingContainer-]invokeFactory(Object(Closure))\n#10 /wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeContainer.php(53): WooCommerce\\PayPalCommerce\\Vendor\\Dhii\\Container\\DelegatingContainer-]get('wcgateway.fraud...')\n#11 /wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(61): WooCommerce\\PayPalCommerce\\Vendor\\Dhii\\Container\\CompositeContainer-]get('wcgateway.fraud...')\n#12 /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}()\n#13 /wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(128): WooCommerce\\PayPalCommerce\\Vendor\\Dhii\\Container\\CachingContainer-]invokeGenerator(Object(Closure))\n#14 /wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(62): WooCommerce\\PayPalCommerce\\Vendor\\Dhii\\Container\\CachingContainer-]getCached('wcgateway.fraud...', Object(Closure))\n#15 /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/WCGatewayModule.php(263): WooCommerce\\PayPalCommerce\\Vendor\\Dhii\\Container\\CachingContainer-]get('wcgateway.fraud...')\n#16 /wp-includes/class-wp-hook.php(308): WooCommerce\\PayPalCommerce\\WcGateway\\WCGatewayModule-]WooCommerce\\PayPalCommerce\\WcGateway\\{closure}('')\n#17 /wp-includes/class-wp-hook.php(332): WP_Hook-]apply_filters(NULL, Array)\n#18 /wp-includes/plugin.php(517): WP_Hook-]do_action(Array)\n#19 /wp-settings.php(617): do_action('init')\n#20 /wp-config.php(136): require_once('/is/htdocs/wp13...')\n#21 /wp-load.php(50): require_once('/is/htdocs/wp13...')\n#22 /wp-cron.php(46): require_once('/is/htdocs/wp13...')\n#23 {main}\n  thrown in /wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 1346 

Thanks!
Peter

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer