Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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! :)

    #513809

    Hey 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!
    Andy

    #513899

    I deleted all theme files and reuploaded everything, but nothing has changed.

    I still get the same warning about the plugin.php line 503.

    #514140

    Hi,

    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,
    Rikard

    #514207

    Tried it but nothing changed.

    #514897

    Hey,

    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,
    Rikard

    #515014

    Unfortunately deactivating all plugins didn’t change anything. It would be great if you could take a look.

    Thank you very much!

    #515548

    Hi,

    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.