• Hello! I’d like to import CSVs as a custom post type that includes Posts 2 Posts (https://wordpress.org/plugins/posts-to-posts/) connections. I came across this support topic that suggests it should work, but I’m running into an error when I add that third-party code as a separate plugin, activate it, and attempt an import:

    Fatal error: Call to a member function isError() on a non-object in /home/[…]/public_html/wp-content/plugins/really-simple-csv-importer/rs-csv-importer.php on line 386

    (Note that I haven’t edited rs-csv-importer.php at all.) Is there a different way I should be adding that additional code to make P2P connections work, or an alternate method that works?

    Thank you!

    https://wordpress.org/plugins/really-simple-csv-importer/

Viewing 1 replies (of 1 total)
  • Hey there, not sure if you’re still looking for a solution, but the reason you’re getting that error is likely because the code you came across was designed for an older version of RSCSV. The author has since then updated the plugin’s save function, and so the old code won’t work.

    I was in the same position as you today, looking at both of those posts and trying to figure out a solution. I eventually created this, with the help of certainlyakey’s code you linked to. It should work using this CSV.

Viewing 1 replies (of 1 total)
  • The topic ‘Import with Posts 2 Posts compatibility’ is closed to new replies.