Background of the issue:
I am trying to hide deprecated errors from my website when I change to some new language. Additionally, I am facing an issue where the site is automatically updating the .htaccess file while switching to German. When another language is selected, this change is reversed. As a temporary fix, I have changed the permissions of the .htaccess file from 644 to 444. You can see our tutorial on permissions here: hidden link
Symptoms:
1) Deprecated errors when switching languages:
Deprecated: Creation of dynamic property WPML_LS_Menu_Item::$current is deprecated in /home/customer/www/tentorium.club/public_html/wp-includes/nav-menu-template.php on line 394
... (repeated errors)
2) The site is automatically updating the .htaccess file, causing internal redirect errors:
2024-08-26 11:51:36.607520 [Mon Aug 26 11:51:36.607452 2024] [core:error] [pid 87601:tid 87601] [client 46.30.212.76:12148] AH00124: Request for tentorium.club:/home/u1504-kglzyresregt/www/tentorium.club/public_html exceeded the limit of 10 internal redirects due to probable configuration error.
Questions:
How can I hide deprecated errors when switching languages?
How can I prevent the .htaccess file from being automatically updated when switching languages?
Please let us know once you have tested which plugin is causing the conflict. You can also upload a copy of it to the test site we created earlier by using this login: hidden link
The topic ‘[Closed] Deprecated errors and automatically updating .htaccess file’ is closed to new replies.