Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #648823

    Hi and thanks for the superb theme!

    We just updated our woocommerce to the latest version on our site https://gearouthere.com and all of a sudden we are getting this error when trying to add a product to cart:

    Fatal error: Call to undefined function wp_get_raw_referer() in /home/gearouthere/public_html/wp-content/plugins/woocommerce/includes/wc-cart-functions.php on line 90

    Not sure how to fix this. We updated wordpress, our theme etc. Do you have any idea?

    Thank you,
    Gear Out Here

    • This topic was modified 8 years, 5 months ago by gearouthere.
    #648833

    Hey gearouthere,

    Thanks for getting in touch with us!

    The fatal error seems to be referring to an error in the file within the WooCommerce plugin. Please try contacting WooCommerce support to see if they have a solution for this error.

    Best regards,
    Jordan

    #649714

    Hi Gearouthere

    I have had this same issue since the WC upgrade to 2.6 – I am going to open a ticket with Woo as well myself, but in the meantime I found that if you turn off the “redirect to cart after adding” option in Woocommerce this behaviour can be avoided and the cart works ok (you can then manually view cart after adding a product).

    Hope that helps as a workaround.

    Thanks, Cat

    #649898

    Hi Cat,

    thanks for that workaround! I talked to Woo and they advised to update WordPress to the latest version – that fixed it! Maybe it would help you as well?

    Thanks,
    Gearouthere

    #650382

    Hi,

    Great, glad you got it working. Please let us know if you should need any more help on the topic.

    Cheers!
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.