• Resolved csiera

    (@csiera)


    Hi there!

    I am new to WordPress, so I am not sure how to fix this issue.

    I am currently exporting/importing blog posts from one WordPress to another, I have no problem exporting, but when I would like to import the blogs to the new WordPress, I get the below notice and none of the blogs are imported.

    Notice: Trying to get property ‘ID’ of non-object in /web/wp-content/plugins/mailchimp-subscribe-sm/admin/classes/admin.php on line 949

    This is what it says on line 949:
    $currentPostType = get_post_type($post->ID);

    I would greatly appreciate any input/help on this matter. Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    Sorry for the late reply. The error is due to plugin code not getting the valid post object which it was expecting. If you’ve not since resolved this, try deactivating the mailchimp subscribe form plugin and see if the import works. You can reactivate the plugin after you’ve imported.

    Thread Starter csiera

    (@csiera)

    Thank you @bcworkz! I managed to have someone to help me with this as well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Notice: Trying to get property ‘ID’ of non-object in when importing blog’ is closed to new replies.