Home Forums WoodMart support forum Fatal error cart page

Fatal error cart page

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #340967

    jimmymussie
    Participant

    Hello,

    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 828

    Attachments:
    You must be logged in to view attached files.
    #340975

    jimmymussie
    Participant

    https://innovino.nl/afrekenen/

    I disabled standard woocommerce cart page, but you can find it here.

    #340977

    jimmymussie
    Participant
    #340979

    jimmymussie
    Participant

    You must add a product in the cart before seeing the error

    #340984

    Artem Temos
    Keymaster

    Hello,

    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

    #340986

    jimmymussie
    Participant

    I disabled all plugins not related.

    #340987

    Artem Temos
    Keymaster

    Hello,

    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

    #340990

    jimmymussie
    Participant

    I don’t know where the error comes from. I changed theme but that was not the solution

    #340991

    Artem Temos
    Keymaster

    The problem comes from the WooCommerce plugin itself. It looks like a bug in the plugin, not in our theme.

    #340992

    jimmymussie
    Participant

    Reinstall woocommerce?

    #340998

    jimmymussie
    Participant

    I did reinstall wordpress, but i does not solved the problem

    #341115

    Artem Temos
    Keymaster

    It 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.

Viewing 12 posts - 1 through 12 (of 12 total)