Support » Fixing WordPress » Help Me This Error – Warning: Missing argument 2 for WP_Scripts

  • icerm

    (@icerm)


    I updated my website to the latest WordPress. At the same time, I updated a few plugins I use on my website. After the updates, I suddenly saw the error message below and could no longer log in to my website admin area. Could somebody help me?

    See the message I am seeing:
    Warning: Missing argument 2 for WP_Scripts::set_translations(), called in /usr/home/icerm/public_html/icermediation.org/wp-includes/script-loader.php on line 488 and defined in /usr/home/icerm/public_html/icermediation.org/wp-includes/class.wp-scripts.php on line 496

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • What I did to resolve this was to hide those warnings using the following code in my wp-config.php file. I’m still looking for the cause of the issue on my client’s site.

    ini_set('display_errors','Off');
    ini_set('error_reporting', E_ALL );
    define('WP_DEBUG', false);
    define('WP_DEBUG_DISPLAY', false);

    Replace wp-admin and wp-includes folders with copy of files download from wordpress website. This should fix the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help Me This Error – Warning: Missing argument 2 for WP_Scripts’ is closed to new replies.