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:
https://wordpress.org/support/topic/enable-auto-updates-does-not-work/
simply disable all your themes and plugins and try again, or you can force disable by renaming the /themes/ and /plugins/ folders via SFTP.
/themes/
/plugins/
btw you can force update with WP-CLI like this:
wp theme --all update
and
wp plugin --all update
Enter the destination URL
Or link to existing content