• Resolved nickw10

    (@nickw10)


    I noticed one of my sites was down the other day and and when I checked after I enabled debugging the errors shown are

    WordPress - Fatal Error X2 Fatal error: Uncaught Error: Class "WP_REST_Revisions_Controller" & Fatal error: Uncaught Error: Call to a member function set() on null in /opt/bitnami/wordpress/wp-includes/l10n.php

    Its hosted on AWS lightsail using a Bitnami stack, so initially I raised a support ticket with them

    https://github.com/bitnami/vms/issues/1603#issuecomment-2255555404

    But they have said its a plugin or theme causing the issue, I was just going to download and re install WordPress but I’m not sure this would fix the issue and I know Bitnami has some custom configuration that could cause more issues.

    If anyone can point me in the direction of what I can look at I’d be very grateful.

    Nick

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • As the support already said, it could be due to plugins or theme. Therefore, deactivate all plugins and switch to a standard theme such as TwentyTwentyFour. If the error is then gone, it was caused by one of the deactivated plugins.

    If the error does not go away, it is due to something in the database that WordPress wants to process. In other words, a content error that could probably have been caused by a plugin. Investigating this is a little more difficult, so test the above first.

    Thread Starter nickw10

    (@nickw10)

    As I can’t get to the site, I tried to use the CLI tool to deactivate all plugins but I get a fatal error, so I renamed the plugins folder and of course, I only have 1 default theme installed, not sure if this means I’m going struggle to fix it ??

    Thread Starter nickw10

    (@nickw10)

    I’ve managed to find a backup of the site that I had locally and I’ve have restored it with no issue, all plugins and themes then updated fine, so no idea what caused the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error on Website’ is closed to new replies.