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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.