WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
WooCommerce 2.0.1 Upgrade (11 posts)

  1. ChePro
    Member
    Posted 1 year ago #

    After WooCommerce 2.0.1 upgrade, many errors came up. I corrected most of them, but cannot get the thank you page to load correctly after PayPal purchase. This error comes up:


    --
    
Product Name
Fatal error: Class 'order_item_meta' not found in /home/public_html/wp-content/themes/gather/woocommerce/order/order-details.php on line 49

    --

    
I've tried creating new thank you pages, but they all get this error.
    Any ideas to fix this?

    http://wordpress.org/extend/plugins/woocommerce/

  2. Roy Ho
    Member
    Posted 1 year ago #

    Did you make sure to copy over the 2.0 version of the order-details.php if one exists?

  3. ChePro
    Member
    Posted 1 year ago #

    No I didn't. I just did a backup, and clicked upgrade WooCommerce. (and the nightmare began..) I did a search and found several copies of that file. Should it be manually moved over to the server? I'm not really clear on how to handle that and file naming (there would then be two versions), etc.

  4. Roy Ho
    Member
    Posted 1 year ago #

    A good practice is don't move anything you're not modifying...It seems you have copied everything to your theme folder and only modifying some? Alot of developers do this and it is not a good practice.

    So assuming you did not modify that file, then simply delete it from your theme folder and the plugin will default to the latest 2.0+ version. This is assuming you didn't modify it of course. Make a backup just in case.

  5. ChePro
    Member
    Posted 1 year ago #

    I didn't move, copy or directly modify anything. There are several copies, because i have many site file backups via ftp from various dates on my computer. I just used WordPress CMS buttons and ftp to download backup files:
    - I simply used a back up plugin to a make a full back up of the database and files. Then I did a manual backup via ftp to my computer. Then I clicked upgrade.

    So you recommend that I delete this file from the server?: /home/public_html/wp-content/themes/gather/woocommerce/order/order-details.php
    Do you mean that the WooCommerce plugin will default to the previous version instead of it's current 2.0.1 version?

  6. Roy Ho
    Member
    Posted 1 year ago #

    I didn't imply YOU moved/copied it....it is done by your theme...So you need to ask your theme's developer if it is safe to delete...

  7. ChePro
    Member
    Posted 1 year ago #

    Ah!

  8. Miloha87
    Member
    Posted 1 year ago #

    hello, now upgrade to the version 2.0.1 and everything went crazy woocommerce, and now does not work well and add to cart, not q I can do and tried to recover the previous version and I could not, if someone could tell me as fix this, or where I can find the previous version agradecira them a lot????

  9. Roy Ho
    Member
    Posted 1 year ago #

    Did you make a backup before you updated? It tells to do this before you update.

  10. Miloha87
    Member
    Posted 1 year ago #

    No I did not that's the problem, did not think so many q would cause inconvenience the upgrade of woocommerce, had apart from woocommerce add instaladado other and are also failing. Any ideas would help scarlet?

  11. kwatson2
    Member
    Posted 1 year ago #

    I found by copying the code from the plugin woocommerce order-details.php into the themes woocommerce order-details.php things are working now. however take a back up first! gotta love updates!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.