PHP Error on hooks.php

6.64K 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

Don’t we enable disable Debug from wp-config.php? I never touched that it was false, its a fresh wp installation and I didn’t install any of extensions…

 

commented on answer

Right. Then i have no ideas, probably some conflict with some plugin or the theme.

Rahul could help more on this.

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