Errors after Activation

6.91K viewsIssues
1

Pls temme the solution for following issues :

Warning: in_array() expects parameter 2 to be array, boolean given in anspress-question-answer/includes/hooks.php on line 467

Warning: in_array() expects parameter 2 to be array, boolean given in anspress-question-answer/includes/hooks.php on line 490

0

I have the same error in den functions.php on line 1702 and 1711 on a new installation.

I cleared it out with making sure that the array cannot be empty but should be fixed.

 

e.g. if ( !empty($menu->classes) { …

You are viewing 1 out of 4 answers, click here to view all answers.