Thanks Jeroen.
I followed the steps found here- https://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/
I renamed the folder in plugins to deactivate. Then i updated the PHP- both 7.4 and 8.1 and had the same issues as before.
Any other suggestions?
Thanks Jeroen
Checked the server logs and theres a thousand of these..
[11-Jan-2024 11:37:40 UTC] PHP Warning: chmod(): No such file or directory in /home/suitsoci/public_html/wp-includes/plugin.php(445) : runtime-created function on line 1
Any idea on fix or a tutorial pointing me to the right direction?
8.1 shut down the site completely and wp-admin access.