<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged 1452</title>
<link>https://www.question2answer.org/qa/tag/1452</link>
<description>Powered by Question2Answer</description>
<item>
<title>Error 1452: Cannot add or update a child row: a foreign key constraint fails</title>
<link>https://www.question2answer.org/qa/4826/error-1452-cannot-add-update-child-foreign-constraint-fails</link>
<description>

&lt;p&gt;
	I've setup Q2A with SSO following &lt;a href=&quot;http://www.question2answer.org/qa/428/how-can-i-integrate-it-with-wordpress&quot; rel=&quot;nofollow&quot;&gt;this tutorial&lt;/a&gt;. Unfortunately I get this error when I try to make a new question;&lt;/p&gt;

	

&lt;p&gt;
		&lt;span style=&quot;color: rgb(153, 0, 0);&quot;&gt;Question2Answer query failed:
&lt;br&gt;
		
&lt;br&gt;
		INSERT INTO qa_posts (categoryid, type, parentid, userid, cookieid, createip, title, content, format, tags, notify, created) VALUES (NULL, _utf8 'Q', NULL, _utf8 '2', NULL, INET_ATON(_utf8 '121.125.237.17'), _utf8 'Will it blend?', _utf8 'Test', _utf8 '', _utf8 'money', _utf8 '@', NOW())
&lt;br&gt;
		
&lt;br&gt;
		Error 1452: Cannot add or update a child row: a foreign key constraint fails (`theri_ATS`.`qa_posts`, CONSTRAINT `qa_posts_ibfk_1` FOREIGN KEY (`userid`) REFERENCES `qa_users` (`userid`) ON DELETE SET NULL)
&lt;br&gt;
		
&lt;br&gt;
		&lt;/span&gt;&lt;/p&gt;



&lt;p&gt;
	Please help me get this working.&lt;/p&gt;


&lt;p&gt;
	Thanks,
&lt;br&gt;
	A.T.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/4826/error-1452-cannot-add-update-child-foreign-constraint-fails</guid>
<pubDate>Wed, 23 Feb 2011 08:24:21 +0000</pubDate>
</item>
</channel>
</rss>