WordPress database error after migration

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin WordPress database error after migration

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #208003
    Tim Lovell
    Participant

    I moved whole website (database, plugins, uploads, etc.) from online hosting to my local installation (I’m using MAMP PRO) and after importing data I get:

    WordPress database error: [Cannot add or update a child row: a foreign key constraint fails (triki.wp_supsystic_ss_views, CONSTRAINT FK_shz5EVC38_supsystic_ss_views_shz5EVC38_supsystic_ss_projects FOREIGN KEY (project_id) REFERENCES shz5EVC38_supsystic_ss_projects (id) ON )]
    INSERT INTO wp_supsystic_ss_views (project_id, post_id) VALUES (1, ”)

    How I can solve this error?

    Thanks

    #208093
    Dee Nutbourne
    Moderator

    Hi,

    Please could you send us a copy of the migration restoration log? This can be found in the ‘wp-content/updraft’ directory of the new site via FTP.

    The contents will be too long to post here directly, but you can use an online service such as Dropbox or Pastebin, and post the link here.

    Best Wishes,
    David N

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘WordPress database error after migration’ is closed to new replies.