why I am getting these errors when I tried to update themes and plugins or enable automatic updates??
Often caused by a theme or plugin:
simply disable all your themes and plugins and try again, or you can force disable by renaming the /themes/ and /plugins/ folders via SFTP.
btw you can force update with WP-CLI like this:
wp theme --all update
wp plugin --all update
Enter the destination URL
Or link to existing content