Le Nghia
asked 8 years ago

I’ve check in the error_log of public_html directory, a lot of line below
PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘dwqa_generate_template_for_questions_list_page’ not found or invalid function name in /home/homemati/public_html/wp-includes/plugin.php on line 192
And when i click update button in post/page, it return to blank page in browser. How to fix this error?
Thank you in advanced 
 

3 Answers
DominicStaff
answered 8 years ago

Just for clarify, my friend. Did you update successfully the latest version?  If you did but still face the problem, don’t worry about it. Please let us know your username & password in order that we can see exactly what’s happening inside your site and give the best solution asap.

Le Nghia
answered 7 years ago

Hi,
This error appear again when i update to lastest version (1.3.3):

PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘dwqa_generate_template_for_questions_list_page’ not found or invalid function name in ….

what exactly cause this error, please help me, thank you in advanced

dominic Staff
replied 7 years ago

Its a hack. It’s happening everywhere. You can upload with a fresh copy of plugin.php.
Also, you can try:
1) Manually reinstalled with a completely fresh version of WP 4.2.2
2) Created a NEW wp-config.php file. If you had a ton of extra code in it that I assume was infected.
3) Changed host password and WP passwords.
If you still face there issue, you can send me username & password of your site for further checking.
Hope this helps !

Le Nghia
answered 7 years ago

Hi,
For anyone that meet this error: Your website firstly don’t have any problem like infected malware or hacker or virus …etc… Just because of this in your function.php:

if( function_exists('dwqa_activate') ) 
 add_filter( 'taxonomy_template', 'dwqa_generate_template_for_questions_list_page', 20 );

The dwqa_generate_template_for_questions_list_page function don’t exist in new version so it’s it cause the error…

Powered by DW Question & Answer Pro