Randy Davis
asked 8 years ago

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

https://episodexistudios.com

5 Answers
DominicStaff
answered 8 years ago

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.

Pets_QandA
answered 8 years ago

I was getting this when installing the plugin.
Actually, it occurred on any plugin installation, so maybe a WordPress issue.

dominic Staff
replied 8 years ago

Thanks for your help, I appreciate it. I hope the answer will help Randy Davis resolve this issue.

Ben Corden
answered 8 years ago

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

dominic Staff
replied 8 years ago

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!

kimann
replied 8 years ago

temporary patch, unacceptable

kim
answered 8 years ago

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.

dominic Staff
replied 8 years ago

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.

Ryan
answered 8 years ago

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.

dominic Staff
replied 8 years ago

Thanks for your answer. I appreciate it, my friend.

Powered by DW Question & Answer Pro