Notice: Function get_cart was called incorrectly. Get cart should not be called before the wp_loaded action. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule->WooCommerce\PayPalCommerce\WcGateway\{closure}, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->getCached, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory, WooCommerce in /home/www/affilishops.ca/wp-includes/functions.php on line 5835

Notice: Function get_cart was called incorrectly. Get cart should not be called before the wp_loaded action. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule->WooCommerce\PayPalCommerce\WcGateway\{closure}, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->getCached, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory, WooCommerce in /home/www/affilishops.ca/wp-includes/functions.php on line 5835

Notice: Function get_cart was called incorrectly. Get cart should not be called before the wp_loaded action. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule->WooCommerce\PayPalCommerce\WcGateway\{closure}, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->getCached, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory, WooCommerce in /home/www/affilishops.ca/wp-includes/functions.php on line 5835

Notice: Function get_cart was called incorrectly. Get cart should not be called before the wp_loaded action. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule->WooCommerce\PayPalCommerce\WcGateway\{closure}, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->getCached, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory, WooCommerce in /home/www/affilishops.ca/wp-includes/functions.php on line 5835

Notice: Function get_cart was called incorrectly. Get cart should not be called before the wp_loaded action. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule->WooCommerce\PayPalCommerce\WcGateway\{closure}, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->getCached, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory, WooCommerce in /home/www/affilishops.ca/wp-includes/functions.php on line 5835

Notice: Function get_cart was called incorrectly. Get cart should not be called before the wp_loaded action. Backtrace: require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule->WooCommerce\PayPalCommerce\WcGateway\{closure}, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->getCached, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get, WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory, WooCommerce in /home/www/affilishops.ca/wp-includes/functions.php on line 5835
Deprecated: is_ajax is deprecated since version 6.1.0! – Affilishops MarketPlace

Deprecated: is_ajax is deprecated since version 6.1.0!

0 minutes, 28 seconds Read

Deprecated: is_ajax is deprecated since version 6.1.0! Use wp_doing_ajax instead. in /home/xxxxx/public_html/wp-includes/functions.php on line 5211

To solve this, go https://developer.woocommerce.com/releases/ and download and old version of Woocommerce, e.g 5.9.0 Zip file and then uninstall new version of woocommerce plugin which is 6.1.0 and install 5.9.0. The error will go.

If you want to use new version of woocommerce, wait until new version of 6.2 available or delete entire site (Make backup first Site and Database) and start new site copied on old site. Another way is updating WordPress

Similar Posts

X
%d bloggers like this: