• jpresley23

    (@jpresley23)


    I get PHP Notice: Trying to get property of non-object in /var/www/web/app/plugins/wp-csv/CPK_WPCSV_Engine.php on line 338 when importing a csv file. In my debugger I can see the issue is the $id for the newly created post is 0, which means that $post_object is null. Line 338 is trying to get properties of a null variable to perform the do_action for saving a post.

    • This topic was modified 8 years ago by jpresley23.
  • The topic ‘Trying to get property of non-object error’ is closed to new replies.