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

There is a small noticein history plugin:

Notice: Undefined offset: 1 in /qa-include/qa-app-format.php(1452) : eval()'d codeon line 234

thnx NoahY ;)

 

Q2A version: 1.5

1 Answer

+1 vote
by
 
Best answer

 

To resolve it change this code in qa-history-layer.php around line 233:

$params[$parama[0]]=$parama[1];

to this:
 
if(isset($parama[1]))
    $params[$parama[0]]=$parama[1];

 

by
Where does it say this is an error?  It's just a notice... Wordpress is full of them :)
by
you are absolutely right. sorry. i will correct it ;)
by
s'okay... the point is that you should have these notices turned off on a production site.  I've updated the code, anyway, thanks for pointing this out.
...