Warning: call_user_func_array() expects parameter 1 to be a valid callback

  • Home
  • Forums
  • Dokan
  • Warning: call_user_func_array() expects parameter 1 to be a valid callback
This topic contains 1 reply and 2 voices, and was last updated by towhid 9 years, 7 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
April 12, 2015 at 11:51 pm 41176
towhid Hello, I previously installed buddypress which was working ok. I decided to remove it and recently just installed it again. I get this warning above my header when activating the plugin. Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘maybe_redirect_404′ not found or invalid function name in /***/***/public_html/wp-includes/plugin.php on line 496 I have tried to find a solution and to what I understand it is a function which may no longer exist. at first I thought it could be an issue with the themes functions.php, so I disabled all plugins other than buddypress and changed the theme to Twenty Fifteen and Fourteen. The message still appeared. I have removed all tables and deleted buddypress, which then I reinstalled and the warning is still there. I have a child theme set up and I have a feeling it maybe something to do with the top left menu as I dont use it, im not sure though. This is the code I can see at the path of wp-includes/plugin.php on line 496; call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’])); Can anyone help me find this code to alter? Do I just remove it once found or should I just change something? Kind Regards Gary
April 13, 2015 at 12:28 pm 41218
towhid towhid

Hello Gary,

Do you have latest version of WordPress. If you not please update with latest version and let me know the result. Before update please backup your site and database for future disaster.

Thank you 🙂

Viewing 1 Posts - 1 through 1 (of 1 total)