Перейти к содержимому Перейти к боковой панели
Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

Часовой пояс службы поддержки: Asia/Karachi (GMT+05:00)

Эта тема содержит 0 ответ, имеет 1 голос.

Последнее обновление: mirteM 2 месяца, 1 неделя назад.

При содействии: Noman.

Автор Сообщения
18 июня, 2025 в 7:54 дп #17144662

mirteM

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.

Тема '[Закрытые] redirect left by WPML in htaccess caused woocommerce update fatal' закрыта для новых ответов.