Thanks for the reply. I had a brief look online about this error:
Full description of the MySQL Error:
ERROR 1452 (23000) at line 158393: Cannot add or update a child row: a foreign key constraint fails ('MyDataBaseName'.'#sql-9a68i1_5a721027', CONSTRAINT 'discussions_last_posted_user_id_foreign' FOREIGN KEY ('last_posted_user_id') REFERENCES 'users' ('id') ON DELETE SET NULL)
Here's what online resources state about this error type:
The error comes when you are trying to add a row for which no matching row in the other table.
MySQL Error type:
Cannot add or update a child row: a foreign key constraint fails
MySQL contents effected:
CONSTRAINT discussions_last_posted_user_id_foreign
FOREIGN KEY (last_posted_user_id
)
REFERENCES users
(id
) ON DELETE SET NULL)
I think it might be as simple as copying over some tables. By which I mean, I am going to pay someone to resolve it. 😆 The fact that all my migration posts and users are accounted for gives me hope. It's time to take out the rubber 🦆.
Once "I" (cough) resolve it, I will post the solution here to help other SimpleMachine users out.