I think I might have found the solution in another thread. sadly I cant upload the wp-includes using the file manager in CPanel..
well just to update things I have now managed to upload the complete folder wp-includes but it now comes up with Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
so I am stuck even more now. 🙁
Seems you’ve resolve your issue now, as your site works perfectly from my side of the pond 😀
Well yes it’s working so thanks for looking at thread.
I was having terrible problems connecting via FTP to replace the wp-includes folder.
So I asked my hosts what was wrong.
I finally managed to get 1 of the 3 ftp programs to connect.
While that was happening I uploaded the folder but now I got a different error . (About sql missing)
I found reference to that error but what I did looked like it had not solved it.
While I was doing this my hosts had noticed something wrong with php files and restored them.
Now it worked OK.
But not sure what fixed it…..although I suspect it was what tech support actually did that solved it.
This was the support reply/.. in case anyone has a similar issue.
“In relation to the PHP issues with MySQL I have re-set the ‘westmidl’ to the default PHP modules for the selected PHP v7.4 since I noticed it had quite a few modules missing.”
Whenever I try to update a plugin I do have the same error :
atal error: Uncaught Error: Call to undefined function trailingslashit() in /home/clients/7c35a8964cfc8a2ffa4301e404f5f71d/web/wp-includes/class-wp-textdomain-registry.php:103 Stack trace: #0 /home/clients/7c35a8964cfc8a2ffa4301e404f5f71d/web/wp-includes/l10n.php(784): WP_Textdomain_Registry->set('default', 'fr_FR', '/home/clients/7...') #1 /home/clients/7c35a8964cfc8a2ffa4301e404f5f71d/web/wp-includes/load.php(1401): load_textdomain('default', '/home/clients/7...', 'fr_FR') #2 /home/clients/7c35a8964cfc8a2ffa4301e404f5f71d/web/wp-includes/load.php(278): wp_load_translations_early() #3 /home/clients/7c35a8964cfc8a2ffa4301e404f5f71d/web/wp-settings.php(74): wp_maintenance() #4 /home/clients/7c35a8964cfc8a2ffa4301e404f5f71d/web/wp-config.php(99): require_once('/home/clients/7...') #5 /home/clients/7c35a8964cfc8a2ffa4301e404f5f71d/web/wp-load.php(50): require_once('/home/clients/7...') #6 /home/clients/7c35a8964cfc8a2ffa4301e404f5f71d/web/wp-blog-header.php(13): require_once('/home/clients/7...') #7 /home/clients/7c35a8964cfc8a2ffa4301e404f5f71d/web/index.php(17): require('/home/clients/7...') #8 {main} thrown in /home/clients/
Any idea to solve this ? I can repair the website by restoring a previous saved version or uploading the “wp-includes” directory