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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Tirane (GMT+02:00)

This topic contains 2 replies, has 3 voices.

Last updated by Marsel Nikolli 11 months, 2 weeks ago.

Assisted by: Marsel Nikolli.

Author Posts
January 12, 2024 at 9:10 am #15177876

majdA-7

This problem appears when browsing the site. When moving from one page to another, the problem appears. I contacted the server and they said that the problem is in the .htaccess file.
They said that the problem is caused by WPML
Send me this link to solve the problem
https://wpml.org/errata/htaccess-is-rewritten-with-language-folder/

2.png
January 12, 2024 at 10:13 am #15178214

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hello!

I'll help you get started while a supporter takes your case:

1) PHP 8.3 is not supported by WordPress so it's also not supported by us either. please downgrade your version to either 7.4 or 8.0 which are the most stable versions of PHP that WordPress allows as you can see here: https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/

2) WPML needs a minimum of 128MB of memory to work correctly and it seems you are not meeting this requirement.

Kindly add this code into your wp-config.php file, right after the database information:

 

define ('WP_MEMORY_LIMIT', '256M');
define ('WP_MAX_MEMORY_LIMIT', '256M');

Try that out and let us know how it goes.

January 12, 2024 at 11:18 am #15178527

Marsel Nikolli

Hi,

I was able to navigate through your website switching languages randomly in different pages and I couldn't see any errors.

* The solution suggested from the server team works in cases when the .htacess may get overwritten with the language folder. However, this issue is not caused by WPML.

The problem actually comes from certain third-party plugins calling flush_rewrite_rules(true) function too often, and this causes WordPress to overwrite .htaccess file.

---

As my colleague mentioned, PHP 8.3 is yet in a beta phase on WordPress environment, so please let us know if the issue persists after you downgraded to a lower PHP version.

Looking forward to your reply,
Marsel

The topic ‘[Closed] There is a problem with a file on the site due to wpml, according to the service’ is closed to new replies.