Title: WordPress error
Last modified: March 12, 2021

---

# WordPress error

 *  [sarahpiteo](https://wordpress.org/support/users/sarahpiteo/)
 * (@sarahpiteo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-75/)
 * I am getting this error on my page:
 * Notice: WP_Scripts::localize was called incorrectly. The $l10n parameter must
   be an array. To pass arbitrary data to scripts, use the wp_add_inline_script()
   function instead. Please see Debugging in WordPress for more information. (This
   message was added in version 5.7.0.) in /var/www/wp-includes/functions.php on
   line 5313
 * I have tried to fix it in file manager with the debugging code and it is not 
   working still.
 * Someone please assist me in fixing this issue ASAP
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-error-75%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-75/#post-14174390)
 * Try:
    Deactivating all plugins (yes, all) to see if this resolves the problem.
   If this works, re-activate the plugins one by one until you find the problematic
   plugin(s). If you can’t get into your admin dashboard, try resetting the plugins
   folder by SFTP/FTP or PhpMyAdmin (read “[How to deactivate all plugins when you can’t log in to wp-admin](https://wordpress.org/support/article/faq-troubleshooting/)”
   if you need help). Sometimes, an apparently inactive plugin can still cause problems.
   Also remember to deactivate any plugins in the mu-plugins folder. The easiest
   way is to rename that folder to mu-plugins-old
 * If you can install plugins, install “Health Check”: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/).
   On the troubleshooting tab, you can click the button to disable all plugins and
   change the theme for you, while you’re still logged in, without affecting normal
   visitors to your site.
 * Switching to the Twenty Twenty theme to rule out any theme-specific problems.
   If you can’t log in to change themes, you can remove the theme folders via SFTP/
   FTP so the only one is twentytwenty. That will force your site to use it.
 *  Thread Starter [sarahpiteo](https://wordpress.org/support/users/sarahpiteo/)
 * (@sarahpiteo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-75/#post-14174454)
 * I did that and found the issue, now my homepage cuts off weird. Please check 
   it out.
 * I don’t know what to do about that.
 * [http://www.winglakecp.com](http://www.winglakecp.com)
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-75/#post-14174529)
 * > now my homepage cuts off weird
 * It opens fine for me.
 * What do you mean by “homepage cuts off weird”?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/wordpress-error-75/#post-14174529)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
