• rsthomas1

    (@rsthomas1)


    This is a great program for us osCommerce converts!!

    Doing the import of Categories/Products, the program runs for awhile and then displays this message:
    Fatal error: Cannot use object of type WP_Error as array in /home/rst/public_html/blog/wp-content/plugins/woocommerce-oscommerce-import/woocommerce-osc-import.php on line 89 — add_woocommerce_term_meta($term[‘term_id’], ‘order’,$category[‘sort_order’]);

    To troubleshoot, I modified the program to display each category as it is processed, and ran across a few that had no products associated with them, which produced the above error. I would delete the category, and was able to continue until another instance was found. Finally, I got an out of memory error so I removed the display and now get the above error message again.

    I have about 3,000 categories/sub-categories and 90,000 products.

    https://wordpress.org/plugins/woocommerce-oscommerce-import/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal Error importing Categores/Products’ is closed to new replies.