PHP Error on hooks.php

6.63K viewsIssues
0

Hello,

I just installed the plugin and gave me these errors on header of all pages, how can I fix it? Do I need to change the code?

Warning: in_array() expects parameter 2 to be array, boolean given in /srv/users/blabla/apps/domain/public/wp-content/plugins/anspress-question-answer/includes/hooks.php on line 556

Warning: in_array() expects parameter 2 to be array, boolean given in /srv/users/blabla/apps/domain/public/wp-content/plugins/anspress-question-answer/includes/hooks.php on line 564

0

It appears on header before the menu on all pages as below screenshot, I use the latest versionĀ 3.0.7 via WP Plugins.

 

commented on answer

I’m pretty sure you have Debug enabled. Can’t show that without it.

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