# Critical error on wp-admin page

**URL:** <https://forum.infinityfree.com/t/critical-error-on-wp-admin-page/71891>\
**Category:** Hosting Support\
**Created:** [February 2, 2023, 3:04pm UTC](https://forum.infinityfree.com/t/critical-error-on-wp-admin-page/71891 "2023-02-02T15:04:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![iltavoloperdue](https://forum.infinityfree.com/letter_avatar/iltavoloperdue/32/6_449c533f586939b6e5f246632a46421f.png) [@iltavoloperdue](https://forum.infinityfree.com/u/iltavoloperdue)\
**Post date:** [February 2, 2023, 3:04pm UTC](https://forum.infinityfree.com/t/critical-error-on-wp-admin-page/71891/1 "2023-02-02T15:04:30Z")

</div>

Hi,

I’m once again stuck after a wp update on my website - [Iltavoloperdue.com](http://Iltavoloperdue.com)

After a bunch of attempts to update to wp version 6.1.1 I decided to proceed manually. I managed to update everything, and the website is up and running, but I can’t access my wp-admin page: I’m stuck with the usual white “critical error” page.

no other message is shown, despite debug-mode being on both from php and the logs file, so I don’t know how to procede

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [February 2, 2023, 3:09pm UTC](https://forum.infinityfree.com/t/critical-error-on-wp-admin-page/71891/2 "2023-02-02T15:09:19Z")

</div>

These may help

> [@Installation failed: There has been a critical error on your website](https://forum.infinityfree.com/t/installation-failed-there-has-been-a-critical-error-on-your-website/49361/):
>
> WordPress supports installing and updating plugins and themes from the official store right through the WordPress admin interface. However, after trying to install or update a large plugin (like WooCommerce) or theme, you may encounter an error like this: Installation failed: There has been a critical error on your website. Please check your site admin email inbox for instructions. Learn more about debugging in WordPress. This error means that the installation process crashed, and may have l…

> [@How to fix a corrupted WordPress installation](https://forum.infinityfree.com/t/how-to-fix-a-corrupted-wordpress-installation/49359/):
>
> WordPress frequently releases updates, which you can install through WordPress’ admin interface. Usually, this works without a hitch. But with some (big) upgrades, the upgrade fails half way and leaves you with a broken website. Fortunately, you can still fix your website without any data loss, and this article tells you how to do that. Download a fresh copy of WordPress First of all, you will need to download a fresh copy of WordPress. You can download this from the official WordPress website…

Take note of this as well

> [@How to install, setup and update WordPress correctly](https://forum.infinityfree.com/t/how-to-install-setup-and-update-wordpress-correctly/68099/):
>
> Do you often see this on your WordPress website? [image] If so you may need to change some of the installation settings. Installing WordPress For Fresh Installation Make sure you are using the following settings when using Softaculous Install Existing Installation You can access your existing installation via Followed by Make sure these are the settings used On the WordPress config To play safe, add this line to the wp-config.php …

---

<div class="post-metadata">

**Author:** ![iltavoloperdue](https://forum.infinityfree.com/letter_avatar/iltavoloperdue/32/6_449c533f586939b6e5f246632a46421f.png) [@iltavoloperdue](https://forum.infinityfree.com/u/iltavoloperdue)\
**Post date:** [February 2, 2023, 3:51pm UTC](https://forum.infinityfree.com/t/critical-error-on-wp-admin-page/71891/3 "2023-02-02T15:51:03Z")

</div>

The website itself it’s working properly: I have tried to navigate from different devices and have no problem whatsoever. The problem is only in the **/wp-admin section**

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [February 2, 2023, 6:39pm UTC](https://forum.infinityfree.com/t/critical-error-on-wp-admin-page/71891/4 "2023-02-02T18:39:29Z")

</div>

It’s very strange, normally the error logs should be displayed on the page.

Fortunately, there are some other parameters to tweak, specifically `WP_DEBUG_DISPLAY` and `WP_DEBUG_LOG`. I tried enabling both on your website and still nothing was visible on the page. But it did create a file in wp-content/debug.log, with the message:

```auto
[02-Feb-2023 18:36:34 UTC] PHP Fatal error: require_once(): Failed opening required '/XXX/wp-admin/includes/upgrade.php' (include_path='.:/usr/share/pear/') in /XXX/wp-admin/upgrade.php on line 22

```

So it does look like some files are missing from your site. Please add the missing files, preferrably through the method described in [How to fix a corrupted WordPress installation](https://forum.infinityfree.com/t/how-to-fix-a-corrupted-wordpress-installation/49359/).

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [February 9, 2023, 6:39pm UTC](https://forum.infinityfree.com/t/critical-error-on-wp-admin-page/71891/5 "2023-02-09T18:39:32Z")

</div>

Closed on February 9, 2023, 6:39pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
