Home › Forums › WoodMart support forum › Fatal error cart page
Fatal error cart page
- This topic has 11 replies, 2 voices, and was last updated 3 years, 4 months ago by
Artem Temos.
-
AuthorPosts
-
December 21, 2021 at 1:47 pm #340967
jimmymussieParticipantHello,
I got this error on the cart page:
Fatal error: Uncaught Error: Object of class WP_Post could not be converted to string in /www/innovino_347/public/wp-content/plugins/woocommerce/includes/class-wc-cart.php:828 Stack trace: #0 /www/innovino_347/public/wp-content/plugins/woocommerce/includes/class-wc-cart.php(828): array_diff(Array, Array) #1 /www/innovino_347/public/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2134): WC_Cart->get_cross_sells() #2 /www/innovino_347/public/wp-includes/class-wp-hook.php(303): woocommerce_cross_sell_display(”) #3 /www/innovino_347/public/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array) #4 /www/innovino_347/public/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #5 /www/innovino_347/public/wp-content/themes/woodmart/woocommerce/cart/cart.php(187): do_action(‘woocommerce_car…’) #6 /www/innovino_347/public/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/www/innovino_3…’) #7 /www/innovino_347/public/wp-content/plugins/woocommerce/includes/shortcodes in /www/innovino_347/public/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 828Attachments:
You must be logged in to view attached files.December 21, 2021 at 2:05 pm #340975
jimmymussieParticipanthttps://innovino.nl/afrekenen/
I disabled standard woocommerce cart page, but you can find it here.
December 21, 2021 at 2:06 pm #340977
jimmymussieParticipanthttps://innovino.nl/winkelwagen/ (NEW LINK)
December 21, 2021 at 2:07 pm #340979
jimmymussieParticipantYou must add a product in the cart before seeing the error
December 21, 2021 at 2:22 pm #340984
Artem TemosKeymasterHello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?
Thank you in advance
December 21, 2021 at 2:32 pm #340986
jimmymussieParticipantI disabled all plugins not related.
December 21, 2021 at 2:34 pm #340987
Artem TemosKeymasterHello,
Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?
Regards
December 21, 2021 at 2:36 pm #340990
jimmymussieParticipantI don’t know where the error comes from. I changed theme but that was not the solution
December 21, 2021 at 2:37 pm #340991
Artem TemosKeymasterThe problem comes from the WooCommerce plugin itself. It looks like a bug in the plugin, not in our theme.
December 21, 2021 at 2:38 pm #340992
jimmymussieParticipantReinstall woocommerce?
December 21, 2021 at 2:45 pm #340998
jimmymussieParticipantI did reinstall wordpress, but i does not solved the problem
December 22, 2021 at 7:09 am #341115
Artem TemosKeymasterIt looks like a bug in WooCommerce but we don’t have a fix for this. Try to disable cross-sells products and check how it works.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register