Title: PHP Fatal error: Uncaught Error: Class &#8216;Requests_Hooks&#8217;
Last modified: April 2, 2023

---

# PHP Fatal error: Uncaught Error: Class ‘Requests_Hooks’

 *  Resolved [jbarlowga](https://wordpress.org/support/users/jbarlowga/)
 * (@jbarlowga)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-error-class-requests_hooks/)
 * I updated to WP 6.2 on three websites over the weekend and started getting the
   dreaded “There has been a critical error on this website. [Learn more about troubleshooting WordPress.](https://wordpress.org/support/article/faq-troubleshooting/)”
   error. on all of them
 * I assumed the issue was related to the update, so I reverted back to 6.1.1 and
   am still experiencing the same issue. In the php error and WP debug log files,
   I see this repeatedly…
 * PHP Fatal error: Uncaught Error: Class ‘Requests_Hooks’ not found in /usr/local/
   webs/…/wp-includes/class-wp-http-requests-hooks.php:18
 * The odd thing is that the critical error is not constant, Sometimes the sites
   load ok, but other times the error occurs. Refreshing the browser (maybe a couple
   of times) typically loads the page as well.
 * Any thoughts on what might be causing this and what the solution might be? Thank
   you.
    -  This topic was modified 3 years, 2 months ago by [jbarlowga](https://wordpress.org/support/users/jbarlowga/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-error-class-requests_hooks/#post-16619493)
 * Try Manually upgrading. When all else fails, download a fresh copy of the WordPress(
   top right on this page) to your computer, and use that to copy up. Access your
   server via [SFTP or FTP](https://wordpress.org/support/article/ftp-clients/),
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), and delete then replace 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](https://wordpress.org/support/article/updating-wordpress/)**.
 * **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://wordpress.org/support/article/wordpress-backups/](https://wordpress.org/support/article/wordpress-backups/)**
 *  Thread Starter [jbarlowga](https://wordpress.org/support/users/jbarlowga/)
 * (@jbarlowga)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-error-class-requests_hooks/#post-16621633)
 * I have already restored the WordPress core with UpdraftPlus from a backup created
   when the site was working fine, so I feel like I’ve already done this. Unfortunately,
   even after restoring from a working version’s backup and clearing the WP cache
   the problem persists. Since the critical error is intermittent, I’ve reached 
   out to our hosting team to see if there are any issues with server cache or anything
   else that might be causing this, but that’s beyond my technical knowledge.
 *  Thread Starter [jbarlowga](https://wordpress.org/support/users/jbarlowga/)
 * (@jbarlowga)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-error-class-requests_hooks/#post-16622245)
 * Problem solved (I hope). We had to do a container restart on the web server. 
   Doesn’t appear that this issue had anything to do with WordPress – just a hosting
   issue. Thanks for the help!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Fatal error: Uncaught Error: Class ‘Requests_Hooks’’ is closed to
new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [jbarlowga](https://wordpress.org/support/users/jbarlowga/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-error-class-requests_hooks/#post-16622245)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
