• Resolved wordfull

    (@wordfull)


    Wp blog page & wp-admin dashboard GUI no longer accessable at my site. Here’s what happened:

    * 6.0.1: last working version. I clicked “upgrade now to 6.0.2”, and may also have clicked to delete 2 or 3 themes/plugins that I thought I wasn’t using.

    * 6.0.2: The upgrade failed with a white page saying: “There has been a critical error on this website. Learn more about troubleshooting WordPress.” cpanel wp files contained the folder “wordpress-6.0.2-no-content”. Made a backup of all wp files: the plugins folder has: “akismet, classic-editor, limit-login-attempts, hello.php, index.php.” The themes folder has (abbreviated): “blackbird, boot_strap, jokkmokk, melany, 20-15, 20-14, 20-19, 20-17, 20-16, 20-13, index.php.”

    * 6.0.3: did a manual upgrade to this version. However, still had same white page & error message.

    * 6.1: cpanel wp files showed that the 6.0.3 manual upgrade had auto-upgraded to 6.1, with folder “wordpress-6.1-new-bundled-vjpNab”. However, still had the same white page & error message. The Plugins & Themes folders have the same contents as in the backup.

    It looks like I may have clicked on something I shouldn’t have. There are no error logs (free hosting). I also have Softaculous installed. I have not reenabled themes & plugins yet (no dashboard). I also cannot find a .htaccess file anywhere in wordpress, although the php status info lists .htaccess as being enabled. So how to fix this, and get back the wp blog page & wp-admin GUI, and then reenable themes & plugins? Thanks for help.

    • This topic was modified 2 years ago by t-p. Reason: Moved to Fixing WordPress from Everything else WordPress

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

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

    (@t-p)

    The WordPress critical error can have a variety of causes, though the issue often can usually be traced back to an issue with PHP:
    – either your memory limit being surpassed, or an error in your code, plugins, or theme. It may also be an issue of database corruption.
    – Since the problem can be caused by any number of things, check the error log on your server. If you can’t find the log, please contact your host. Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there.?https://www.ads-software.com/support/article/debugging-in-wordpress/
    – Useful articles:
    https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-critical-error-in-wordpress/
    https://kinsta.com/knowledgebase/there-has-been-a-critical-error-on-your-website/

    Thread Starter wordfull

    (@wordfull)

    Hi, thanks for help. The debug output shows the following (with replaced site names):

    [07-Nov-2022 00:30:30 UTC] PHP Warning: require_once(/home/myhostsite.com/username/mysite.com/htdocs/wp/wp-includes/class-wp-textdomain-registry.php): failed to open stream: No such file or directory in /home/myhostsite.com/username/mysite.com/htdocs/wp/wp-settings.php on line 155
    [07-Nov-2022 00:30:30 UTC] PHP Fatal error: require_once(): Failed opening required ‘/home/myhostsite.com/username/mysite.com/htdocs/wp/wp-includes/class-wp-textdomain-registry.php’ (include_path=’.:/usr/share/pear/’) in /home/myhostsite.com/username/mysite.com/htdocs/wp/wp-settings.php on line 155`

    Moderator t-p

    (@t-p)

    Try Manually upgrading. When all else fails, download a fresh copy of the latest.zip file for this release (top right on this page) to your computer, and use that to copy up. You may need to delete the wp-admin and wp-includes folders on your server (NOTE: do not delete the?wp-content?directory or your?wp-config.php?file)?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! See https://www.ads-software.com/support/article/wordpress-backups/

    Thread Starter wordfull

    (@wordfull)

    I did a manual upgrade – did not delete wp-contents folder or anything inside or upload anything into it. I also did not do a normal upgrade after this, and have not reenabled plugins or themes. My blog site has returned https://www.mysite.com/wp, but the dashboard at https://www.mysite.com/wp/wp-admin brings up a 404 error message. Below is the debug info:

    [11-Nov-2022 00:12:08 UTC] PHP Notice: Function WP_Block_Type_Registry::register was called incorrectly. Block type names must contain a namespace prefix. Example: my-plugin/my-custom-block-type Please see Debugging in WordPress for more information. (This message was added in version 5.0.0.) in /home/myhostsite.com/username/mysite.com/htdocs/wp/wp-includes/functions.php on line 5835
    [11-Nov-2022 00:12:08 UTC] PHP Fatal error: Uncaught Error: Class ‘Requests_Cookie_Jar’ not found in /home//home/myhostsite.com/username/mysite.com/htdocs/wp/wp-includes/class-requests.php:591
    Stack trace:
    #0 /home//home/myhostsite.com/username/mysite.com/htdocs/wp/wp-includes/class-requests.php(365): Requests::set_defaults(‘https://www.mysite…’, Array, NULL, ‘POST’, Array)
    #1 /home//home/myhostsite.com/username/mysite.com/htdocs/wp/wp-includes/class-wp-http.php(395): Requests::request(‘https://www.mysite…’, Array, NULL, ‘POST’, Array)
    #2 /home//home/myhostsite.com/username/mysite.com/htdocs/wp/wp-includes/class-wp-http.php(615): WP_Http->request(‘https://www.mysite…’, Array)
    #3 /home//home/myhostsite.com/username/mysite.com/htdocs/wp/wp-includes/http.php(179): WP_Http->post(‘https://www.mysite…’, Array)
    #4 /home//home/myhostsite.com/username/mysite.com/htdocs/wp/wp-includes/cron.php(922): wp_remote_post(‘https://www.mysite…’, Array)
    #5 /home//home/myhostsite.com/username/mysite.com/htdocs/wp/wp-includ in /home//home/myhostsite.com/username/mysite.com/htdocs/wp/wp-includes/class-requests.php on line 591`

    Moderator t-p

    (@t-p)

    My blog site has returned

    Glad to know it ??

    but the dashboard … brings up a 404 error message

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter wordfull

    (@wordfull)

    i hadn’t done anything more yet, but rechecked wp-admin page again today. There was a message that the database needed upgrading – click to upgrade. It upgraded instantly and the dashboard was available again.

    Thanks for your help.

    Moderator t-p

    (@t-p)

    Glad its sorted ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘no wp blog page or wp-admin GUI after upgrades from 6.0.1’ is closed to new replies.