WordPress.org

Forums

WP CSV
[resolved] fatal error on line 503 (4 posts)

  1. thefoff
    Member
    Posted 1 year ago #

    I'm receiving a fatal error on line 503 and unable to import beyond about 50 items.

    http://wordpress.org/plugins/wp-csv/

  2. thefoff
    Member
    Posted 1 year ago #

    Fatal error: Cannot use object of type WP_Error as array in /home/thefoff/hubtest2.chriswarnock.com/wp-content/plugins/wp-csv/pws_wpcsv_engine.php on line 503

  3. CPK Web Solutions
    Member
    Plugin Author

    Posted 1 year ago #

    Hi thefoff

    Seems to be something related to taxonomies. Any chance you could send me your import CSV file, or give me dashboard/FTP access? I'd like to see exactly what's happening. Please contact me via my contact page.

    It's easy to update the code and make the above error go away, but there may be a deeper problem.

    Best wishes

    Paul

  4. CPK Web Solutions
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for sending me your CSV file via email, thefoff.

    The problem seems to have been a few blank taxonomy terms caused by a trailing comma (ie "one, two, ").

    I've uploaded version 1.4.5 with a fix to prevent these from causing errors in future. Blank terms will now just be ignored.

    Best wishes

    Paul

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP CSV
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic