Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Bug? Notice: Undefined index: content, in qa-include/qa-theme-base.php

+1 vote
741 views
asked Sep 3, 2012 in Q2A Core by Anders Hellman

I have found 2 answers leading to this error being displayed, instead of the "answer contents".

"Notice: Undefined index: content in ...cut... qa-include/qa-theme-base.php on line 1844"

 Example of problem here (scroll down)

http://www.vilkenapp.se/487/iphone/vilken-app-kan-halla-reda-pa-poangstallningen

Both these answers were created by anonymous users. After doing some research, the database column content in table qa_posts, is set to NULL for these 2 answers. I suspect these could be spam users, since the IP:s seem located in China and Romania.

1. Suggestion: In case content is null, nothing should be printed as answer.

2. Question: How can these kinds of comments be stopped in the first place? (except the obvious solution, to not accept anonymous posts ;-) )

Q2A version: 1.5

1 Answer

0 votes
answered Sep 14, 2012 by rohit1986
i thought i m the only one started getting this error .

 

i too get it from past two days .

http://fastanswers.net/?qa=424/define-dynamic-error
...