• Resolved levii

    (@levii)


    Hi, guys!

    I tried logging into my WordPress account after weeks. I’m on localhost. Can’t access login to dashboard and site front page, both display “There has been a critical error on this website.” Can access phpMyAdmin.

    Disabling themes, plugins and .htaccess file via the folders, clearing cache and cookies didn’t help.

    Debugger says it’s a 500 internal server error and the following:

    [12-Apr-2024 15:35:06 UTC] PHP Warning:? require(/Applications/MAMP/htdocs/wordpress/wp-includes/rest-api/class-wp-rest-server.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/wordpress/wp-settings.php on line 265

    [12-Apr-2024 15:35:06 UTC] PHP Fatal error:? require(): Failed opening required '/Applications/MAMP/htdocs/wordpress/wp-includes/rest-api/class-wp-rest-server.php' (include_path='.:/Applications/MAMP/bin/php/php7.4.33/lib/php') in /Applications/MAMP/htdocs/wordpress/wp-settings.php on line 265

    [12-Apr-2024 15:35:06 UTC] PHP Fatal error:? Uncaught Error: Call to undefined function filter_block_content() in /Applications/MAMP/htdocs/wordpress/wp-includes/formatting.php:5226

    Stack trace:

    #0 /Applications/MAMP/htdocs/wordpress/wp-includes/class-wp-hook.php(324): wp_pre_kses_block_attributes('Function is_emb...', Array, Array)

    #1 /Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters('Function is_emb...', Array)

    #2 /Applications/MAMP/htdocs/wordpress/wp-includes/kses.php(946): apply_filters('pre_kses', 'Function is_emb...', Array, Array)

    #3 /Applications/MAMP/htdocs/wordpress/wp-includes/kses.php(754): wp_kses_hook('Function is_emb...', Array, Array)

    #4 /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php(6028): wp_kses('Function is_emb...', Array, Array)

    #5 /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php(5975): wp_trigger_error('', 'Function is_emb...')

    #6 /Applications/MAMP/htdocs/wordpress/wp-includes/query.php(882): _doing_it_wrong('is_embed', 'Function is_emb...', '(This message w...')

    # in /Applications/MAMP/htdocs/wordpress/wp-includes/formatting.php on line 5226


    After enabling the debugger file
    it went from “There has been a critical error on this website.” To a completely blank screen

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“There has been a critical error on this website.” / Blank screen’ is closed to new replies.