Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
6.0k views
in Q2A Core by
edited by

In the /favorites page, this error presents itself when the user favorited a category.

How do you fix this?

Q2A version: 1.6.2

1 Answer

+1 vote
by
selected by
 
Best answer

I got that problem several times :) most cases because of theme changes, 
i do generally solve it by adding an    'id'=>'nameit' to  $qa_content [fields] declaration

For eg : i added 'id'=>'wallpost' to the end of  the following code in qa-page-user-profile.php to remove same error from wall posts 

$qa_content['message_list']['form']['fields']=array(
'message' => array(
'tags' => 'name="message" id="message"',
'value' => qa_html(@$inmessage, false),
'rows' => 2,
'error' => qa_html(@$errors['message']),
'id'=>'wallpost'
 
 
I hope it helps :)


 
 

 

by
For some reason I didn't look at the path that the error was linking to :P. Sorry for that, it was just a silly error in my theme file.
...