• Hi,

    Whenever I import, I get the WP_Post object is not set. error that I’ve seen on here. The data appears (?) to all still import in fine, but I would prefer not to have that error show when importing, or maybe something’s not working that I can’t see. I installed the debug plugin you’ve mentioned on here before and tried the import again and this is what i got below. Any ideas? Thank you!

    $is_update:
    bool(true)
    $post:
    array(7) {
      ["post_type"]=>
      string(5) "movie"
      ["ID"]=>
      string(4) "1206"
      ["post_name"]=>
      string(12) "the-revenant"
      ["post_author"]=>
      int(1)
      ["post_date"]=>
      string(19) "2016-01-07 09:00:00"
      ["post_status"]=>
      string(7) "publish"
      ["post_title"]=>
      string(12) "The Revenant"
    }
    $meta:
    array(12) {
      ["wpmdb_release_date"]=>
      string(15) "January 7, 2016"
      ["wpmdb_title"]=>
      string(12) "The Revenant"
      ["wpmdb_audience"]=>
      string(20) "Male 25+, Female 25+"
      ["wpmdb_stars"]=>
      string(28) "Leonardo DiCaprio, Tom Hardy"
      ["wpmdb_genres"]=>
      string(5) "Drama"
      ["wpmdb_directors"]=>
      string(27) "Alejandro Gonzalez Inarritu"
      ["wpmdb_ismoviepost"]=>
      string(3) "Yes"
      ["wpmdb_trailer"]=>
      string(11) "LoebZZ8K5N0"
      ["wpmdb_plot"]=>
      string(151) "After a 19th-century fur trapper gets mauled by a grizzly bear, he's robbed and left for dead by his companions. He survives and seeks revenge on them."
      ["field_56a83ab2ca264"]=>
      string(5) "MA15+"
      ["field_56a83b14ca265"]=>
      string(18) "Paramount Pictures"
      ["field_56a83b1dca266"]=>
      string(7) "156 MIN"
    }
    $tax:
    array(3) {
      ["date"]=>
      array(1) {
        [0]=>
        string(12) "January 2016"
      }
      ["targetaudience"]=>
      array(2) {
        [0]=>
        string(8) "Male 25+"
        [1]=>
        string(11) " Female 25+"
      }
      ["genre"]=>
      array(1) {
        [0]=>
        string(5) "Drama"
      }
    }
    Note: Please include post_type value if that is possible.
    $is_update:
    bool(false)
    $post:
    array(0) {
    }
    $meta:
    array(12) {
      ["wpmdb_release_date"]=>
      string(0) ""
      ["wpmdb_title"]=>
      string(0) ""
      ["wpmdb_audience"]=>
      string(0) ""
      ["wpmdb_stars"]=>
      string(0) ""
      ["wpmdb_genres"]=>
      string(0) ""
      ["wpmdb_directors"]=>
      string(0) ""
      ["wpmdb_ismoviepost"]=>
      string(0) ""
      ["wpmdb_trailer"]=>
      string(0) ""
      ["wpmdb_plot"]=>
      string(0) ""
      ["field_56a83ab2ca264"]=>
      string(0) ""
      ["field_56a83b14ca265"]=>
      string(0) ""
      ["field_56a83b1dca266"]=>
      string(0) ""
    }
    $tax:
    array(3) {
      ["date"]=>
      array(1) {
        [0]=>
        string(0) ""
      }
      ["targetaudience"]=>
      array(1) {
        [0]=>
        string(0) ""
      }
      ["genre"]=>
      array(1) {
        [0]=>
        string(0) ""
      }
    }

    https://www.ads-software.com/plugins/really-simple-csv-importer/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Import Error: WP_Post object is not set’ is closed to new replies.