• Hello! I’m hoping I can find some help to fix my website. I’m getting this error message when I type in my website URL AND when I try to go to the WP admin page:

    Warning: array_values() expects parameter 1 to be array, null given in /home/customer/www/4better4ever.com/public_html/wp-content/plugins/gutenberg/lib/compat/wordpress-6.1/date-settings.php on line 48

    AND when I try to login to my WP admin account, I can’t even login or reset the password. I keep getting redirected to these warnings.

    Any idea how can I fix this? I know next to nothing about coding but I’m hoping I can fix this myself.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    It’s complaining that get_user_locale() is returning null. This, I believe, is occurring in the Gutenberg plugin and not in WordPress itself.

    There are a couple of things you could try.

    Check if you’re using the Gutenberg plugin and whether it needs updating. From the dashboard, click on “Plugins” on the left-hand menu.

    If the plugin is installed and activated, see if there’s a newer version available. It should say something like “There is a new version of Gutenberg available”.

    Otherwise, you could try to temporarily deactivate the Gutenberg plugin.

    To turn it off, follow these steps:

    1. Login to your WordPress dashboard
    2. Click on “Plugins” on the left-hand menu
    3. Find the Gutenberg plugin and click “Deactivate” under the plugin name

    • This reply was modified 1 year, 6 months ago by ramonopoly.
    Thread Starter islandgirl10

    (@islandgirl10)

    Thanks for your reply @ramonopoly! Part of the problem is that I can’t even login to my wordpress account to check or deactivate the Gutenberg plugin. I’ve never had that happen before.

    When I try to login, I get a recaptcha message that never goes away. If I try to reset my password, the screen redirects to the same error message for the gutenberg plugin. ???♀?

    Not sure how to fix this without being able to login to my WP account.

    Hmmm, do you remember if anything changed before the error occurred? E.g., updated a plugin, or added a new one?

    The only thing I can think of right now is to try deleting the Gutenberg directory in wp-content/plugins on the server.

    If that doesn’t work, then it might be another plugin that causing a conflict.

    In that case you could try renaming the plugins directory, to something like plugins_hold or whatever. Here more information on how to manually reset plugins if you don’t have access to the admin dashboard.

    If that resolves the issue, reactivate each one individually until you find the cause.

    In the worst case, do you or your web host keep regular backups of the site?

    • This reply was modified 1 year, 6 months ago by ramonopoly.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help! Gutenberg Crashed My Website And I Can’t Login To WP To Fix It’ is closed to new replies.