Hello,
It looks like something is wrong with your WP installation. I’ve activated a default theme Twenty Twenty and tried to install WooCommerce plugin, and got the error also. It means the problem is independent of our theme. Contact your hosting provider and ask about assistance, check the server error log.
Regards