Hi,
I understand you are receiving this error, “There has been a critical error on this website”. I understand you deactivated Square and then the website works fine.
That will need troubleshooting to find the cause of the issue:
1. Debugging: Enable debugging on your website to pinpoint the issue. You can do this by editing the wp-config.php file in the root directory of your WordPress site. Find the following line: define('WP_DEBUG', false); and change it to define('WP_DEBUG', true);.
2. Plugins: It could be one of your plugins causing the issue. To confirm this, deactivate all your plugins except WooCommerce and Square. If the error disappears, then the problem lies with one of the plugins. Activate them one by one and see after which one the error reappears. This way, you’ll identify the problem plugin. More details: https://woocommerce.com/document/how-to-test-for-conflicts
3. PHP Memory: Sometimes, insufficient PHP memory could bring this error. Try increasing the PHP memory limit. More details: https://woocommerce.com/document/increasing-the-wordpress-memory-limit/
Let us know how that goes for you.
It’s been a while since you responded, so I’m marking this as resolved – we’ll be here if/when you need us.