Error 1452: Cannot add or update a child row: a foreign key constraint fails (`jwancouk_ukq`.`qauk_posts`, CONSTRAINT `qauk_posts_ibfk_1` FOREIGN KEY (`userid`) REFERENCES `qauk_users` (`userid`) ON DELETE SET NULL)
I have installed two Q&A sharing the same user table. I get the above error when a new user tries to post a question one one of the sites.
I've tried for some time to figure out how to solve it but I'm a developer. Any help would be appreciated. Thanks.