I Upgrade My WordPress and It Returns Error

[ad_1]

Warning: require(/home/u5514609/public_html/(my website)/wp-includes/Requests/src/Autoload.php): failed to open stream: No such file or directory in /home/u5514609/public_html/(my website)/wp-includes/class-wp-http.php on line 11

Fatal error: require(): Failed opening required '/home/u5514609/public_html/(my website)/wp-includes/Requests/src/Autoload.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/u5514609/public_html/(my website)/wp-includes/class-wp-http.php on line 11

Fatal error: Uncaught Error: Call to a member function set() on null in /home/u5514609/public_html/(my website)/wp-includes/l10n.php:856 Stack trace: #0 /home/u5514609/public_html/(my website)/wp-includes/l10n.php(959): load_textdomain('default', '/home/u5514609/…', 'id_ID') #1 /home/u5514609/public_html/(my website)/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in /home/u5514609/public_html/(my website)/wp-includes/l10n.php on line 856

That is what it says after I do an upgrade, both Autoload.php and class-wp-http.php are there and there don't seem to be any problem in the files. What do I do?

[ad_2]
1 Comment
  1. This issue often occurs when some WordPress core files are either missing or corrupted after an update. The error messages you’re seeing suggest that the WordPress files responsible for handling HTTP requests and localization are not working correctly. You can manually update it.

    1. Download the latest version of WordPress from the official website.

    2. Extract the downloaded ZIP file on your computer.

    3. Access your website via FTP or File Manager in your hosting control panel.

    4. Navigate to your website’s root directory, typically public_html. Upload the wp-admin and wp-includes folders from the extracted WordPress files to your website’s root directory. Overwrite all existing files when prompted. This will replace any potentially corrupted or missing core files without affecting your content, themes, or plugins.

    **Do not upload the wp-content folder** as it contains your themes, plugins, and uploads. You don’t want to overwrite those.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer