Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
670 views
in Q2A Core by

Notice show up in Recent Activity page, All questions of member page, All answers of member page

Notice: Undefined index: who in /home/xxxxxxxx/public_html/qa-include/qa-app-format.php(1653) : eval()'d code on line 186

 

related question asked before but Notice in diff. file

http://www.question2answer.org/qa/21518/

Q2A version: Latest 1.6 dev

1 Answer

+4 votes
by

I am guessing that this is a plugin which has a layer that expects the 'who' field to be there on all question lists, but it is now not there for these user-specific pages, since the user identity shown would always be the same. Please search through your non-standard plugins for references to the field 'who' in line 186 of a file. It should be surrounded by something like if (isset($post['who'])) { ... }

by
@gidgreen today i found this is due to badge plugin
when we use "Show badge widget beside points in user meta"
this error occour

Thanx for reply
by
the line 186 is
$handle = preg_replace('|.+qa-user-link" title="@([^"]+)".+|','$1',$post['who']['data']);
...