Support » Plugin: WooCommerce - Gift Cards » Latest update BROKE EVERYTHING! EMERGENCY

  • Customers haven’t been able to checkout for 2 days now!

    From the WP log:

    [27-Apr-2017 18:00:46 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WC_Order::get_id() in /var/www/
    Stack trace:
    #0 /var/www/ rpgc_add_order_giftcard(Array, Object(WC_Order))
    #1 /var/www/ WP_Hook->apply_filters(Array, Array)
    #2 /var/www/ apply_filters(‘woocommerce_get…’, Array, Object(WC_Order))
    #3 /var/www/ WC_Abstract_Order->get_order_item_totals()
    #4 /var/www/ include(‘/var/www/blendb…’)
    #5 /var/www/ wc_get_template(’emails/email-or…’, Array)
    #6 /var/www/ WC_Emails->ord in /var/www/ on line 423

Viewing 4 replies - 1 through 4 (of 4 total)
  • @imkane – Can you try uninstalling the plugin and reinstalling the plugin? Please backup your site before doing so!

    I have same problem after giftcard update

    I have the same problem. You broke my cart. Seems to be a compatibility issue with WC 2.6. Not happy!

    I’ve just had this issue myself too. You’re correct in that it is a compatibility issue with WooCommerce 2.6. From what I can see the get_id() method for WC_Order wasn’t introduced until 2.7, and the gift cards plugin is using this method to get the orders id.

    If you’re not sure about updating WooCommerce to 3.0.5 just yet, then an update to 2.7 should fix the issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Latest update BROKE EVERYTHING! EMERGENCY’ is closed to new replies.