WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. thefoff
    Member
    Posted 9 months 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 9 months 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 9 months 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 9 months 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

Reply

You must log in to post.

About this Plugin

About this Topic