[wp-trac] [WordPress Trac] #60752: Fatal error: Uncaught Error: Class 'WpOrg\Requests\Hooks' not found

WordPress Trac noreply at wordpress.org
Tue Mar 12 19:36:57 UTC 2024


#60752: Fatal error: Uncaught Error: Class 'WpOrg\Requests\Hooks' not found
--------------------------+------------------------------
 Reporter:  moustifi      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by ahlik2):

 It's possible you are using an old version of WordPress or after updating
 WP Core something goes wrong and there are some files missing.

 In those cases, the best is to download the latest WordPress version, then
 uploading to your server and replacing the files and folder. Notice after
 downloading the WordPress ZIP file the structure could be a bit different
 so maybe you need to extract it on your PC first, then navigate to the
 folder and compress the files and folder of WordPress again to have a
 smooth Upload and Extract on the site, otherwise could be possible you
 need to cut/move after extract on the site.

 If you feel comfortable with SSH you can use it to do the same:

 1. Navigate to the root of your site for example cd /var/www/html/

 2. Then execute: wp core download --version=6.2 --force

 You should change to 6.2 for the latest stable version of WordPress.

 I hope this helps you.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60752#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list