Fatal errors founded in log
-
Fatal errors founded in log:
- Uncaught Error: Call to a member function get_cart() on null in /home/sweet_u/web/www/sweet-sdpearls.de/wp-content/plugins/b2bking-wholesale-for-woocommerce/public/class-b2bking-public.php:153
Stack trace:
#0 /home/sweet_u/web/www/sweet-sdpearls.de/wp-includes/class-wp-hook.php(324): B2bkingcore_Public->b2bking_individual_pricing_fixed_price()
#1 /home/sweet_u/web/www/sweet-sdpearls.de/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /home/sweet_u/web/www/sweet-sdpearls.de/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(884): apply_filters()
#3 /home/sweet_u/web/www/sweet-sdpearls.de/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(270): WC_Data->get_prop()
#4 /home/sweet_u/web/www/sweet-sdpearls.de/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php(710): WC_Product->get_price()
#5 /home/sweet_u/web/www/sweet-sdpearls.de/wp-content/plugins/woocommerce/i” while reading response header from upstream, client: 49.12.91.132, server: sweet-sdpearls.de, request: “GET /wp-json/wc/v2/products/51989?consumer_key=ck_e3275fdb32059c59dd895de1f90643c3798d9e74&consumer_secret=cs_e15ecb18de910a6eceacbc6735b8cf58e92b3c3b HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php8.2-fpm.sweet-sdpearls.de.sock:”, host: “sweet-sdpearls.de”
So, seems at string 153 of class-b2bking-public.php
there is, sometimes, doesn’t exists (or work properly) WC()->cart object. - Uncaught Error: Call to a member function get_cart() on null in /home/sweet_u/web/www/sweet-sdpearls.de/wp-content/plugins/b2bking-wholesale-for-woocommerce/public/class-b2bking-public.php:153
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.