Any idea why I would be getting this error: Warning: in_array() expects parameter 2 to be array, null given in /home/rdavis/public_html/wp-content/plugins/dw-question-answer/dw-question-answer.php on line 211
I have checked on our demo and it still works fine. Please send me username & password for your site for further checking. I will check and help you resolve this issue.
I was getting this when installing the plugin.
Actually, it occurred on any plugin installation, so maybe a WordPress issue.
Thanks for your help, I appreciate it. I hope the answer will help Randy Davis resolve this issue.
Hi
I am seeing the same error message.
WP 4.4.2
DW Q&A Version 1.4.2.2
Whenever you install any plugin and are returned to the plug in page you get the message of the OP.
I hope to hear from you Dominic.
Thanks
You can open the dw-question-answer/dw-question-answer.php
file and replace the line 211 with the following code:
if ( is_array($file_name) && in_array( $file_name, $args['plugins'] ) ) {
Hope this helps!
temporary patch, unacceptable
Can you please fix this in the core plugin?
Changing that line is a temporary fix as it will revert back with all upgrades.
This is not a wordpress issue, it is a DW Q&A plugin issue.
Yes, I know that. I sent and notified our technical team about this issue. We are checking and fixing. After fixed it, we will update into the DW Q&A plugin. Sorry about that, my friend.
This happened to me as well. It may be from a conflicting plugin. In my case, it was Blog Categories for Groups by buddydev. I deactivated it and the Warning message disappeared.
Thanks for your answer. I appreciate it, my friend.
Please login or Register to submit your answer