Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 10:00 8:00 – 10:00 8:00 – 13:00 8:00 – 13:00 9:00 – 13:00 -
- 11:00 – 17:00 11:00 – 17:00 14:00 – 17:00 13:00 – 17:00 13:00 – 18:00 -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 1 replies, has 2 voices.

Last updated by Lauren 9 months, 1 week ago.

Assisted by: Lauren.

Author Posts
August 26, 2024 at 1:20 pm #16104634

delyanD

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?

August 26, 2024 at 2:13 pm #16105164

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

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.