Support » Fixing WordPress » Getting this error

  • Resolved luvewe


    I am getting this error on every page of my blog. I haven’t changed anything lately. I can’t even log in. What would this mean?

    Fatal error: Call to undefined method WP_Scripts::set_translations() in /home/content/25/7651425/html/wp-includes/script-loader.php on line 490

    Thank you!

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p


    Try MANUALLY updating. Download WordPress again and unzip it, and use that to copy up. Access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server EXCEPT the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. (NOTE: do not delete the wp-content directory or your wp-config.php file). Please read the Manual Update directions first.

    Backup: If you haven’t already done, always backup everything (including your database) before doing any actions, just in case something really goes wrong. You can never have enough backups!

    An another option could be comment out /* */ the problematic lines (script-loader.php on line 490) temporary and if the site is working then, try to fix the actual problem.

    • This reply was modified 3 years, 5 months ago by wp-muhkiainen.

    @t-p – you have just saved me hours of panic! Thank you, that solution worked perfectly.

    Moderator t-p


    Glad to know it 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Getting this error’ is closed to new replies.