-
AuthorPosts
-
October 5, 2015 at 10:13 am #513579
Hi,
I recently migrated to a new host provider and ever since I get this message and the footer in http://lovelifesolved.com/newsletter is missing altogether.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘add_custom_script’ not found or invalid function name in /home/lovelife/public_html/wp-includes/plugin.php on line 503
This is in plugin.php on line 503:
call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));
The full function:
do {
foreach ( (array) current($wp_filter[$tag]) as $the_ )
if ( !is_null($the_[‘function’]) )
call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));} while ( next($wp_filter[$tag]) !== false );
array_pop($wp_current_filter);
}Please help! :)
October 5, 2015 at 2:32 pm #513809Hey aIVIis!
try to delete all theme files via FTP before getting a fresh copy from your themeforest account, because there might be some corrupted theme files. Hope this will help!
Cheers!
AndyOctober 5, 2015 at 4:27 pm #513899I deleted all theme files and reuploaded everything, but nothing has changed.
I still get the same warning about the plugin.php line 503.
October 6, 2015 at 6:18 am #514140Hi,
Could you try to download a fresh copy of WordPress and replace your current plugin.php with the downloaded one in the wp-includes folder to see if that helps please?
Regards,
RikardOctober 6, 2015 at 9:13 am #514207Tried it but nothing changed.
October 7, 2015 at 5:13 am #514897Hey,
Please try to deactivate all plugins to see if that helps. If not then please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardOctober 7, 2015 at 9:08 am #515014Unfortunately deactivating all plugins didn’t change anything. It would be great if you could take a look.
Thank you very much!
October 8, 2015 at 4:57 am #515548Hi,
I’m pretty sure this is not a theme issue but you can try to reinstall WordPress to see if that helps: https://www.tipsandtricks-hq.com/how-to-uninstall-and-reinstall-wordpress-245
Regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.