Background of the issue:
I was trying to update WooCommerce from version 9.8.5 to 9.9.4, but encountered issues with redirects in the .htaccess file, which were left by WPML. My host resolved a 500 error by resaving the permalinks, creating a new .htaccess file. However, there was a redirect rule pointing to the FR part of the domain, which caused a fatal error. The link to the support topic for the WooCommerce side is: https://wordpress.org/support/topic/fatal-on-update-to-9-9-4/
Symptoms:
I experienced a 500 error due to a redirect issue in the .htaccess file. After updating WooCommerce, I encountered PHP fatal errors: 'Uncaught Error: Class "WC_Notes_Refund_Returns" not found' and 'Uncaught Error: Class "WC_Admin_Settings" not found'. Additionally, server logs showed errors related to exceeding the limit of internal redirects.
Questions:
Is there any way to avoid WPML leaving redirect rules in the .htaccess file in the future? For additional info. Normally the Htaccess is controlled by WP Rocket.
O tópico “[Fechado] redirect left by WPML in htaccess caused woocommerce update fatal” está fechado para novas respostas.