• Hi All,
    I am manually adding posts with wp_insert_post. On my local machine this works fine, but when I moved it to the host (with the same WP version) the method returns a WP_Error class with the following message:

    ["db_insert_error"]=>
        string(44) "Table 'db_name.prefix_posts' doesn't exist"

    I can still add posts through the wordpress backend interface, so the posts table is there and working.

    Any ideas on what might be causing this or what to try next?

    Thanks

  • The topic ‘Posts table does not exist on wp_insert_post’ is closed to new replies.