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

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 3 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
February 10, 2024 at 12:14 am #15287913

ralfW-7

Suddenly my apache error log is spammed with thousand of this errors :

AH01071: Got error ': PHP Warning: preg_match(): Unknown modifier '-' in /var/www/wordpress/wp-content/plugins/sitepress-multilingual-cms/inc/absolute-links/absolute-links.class.php on line 186; PHP message: PHP Warning: preg_match(): Unknown modifier '-' in /var/www/wordpress/wp-content/plugins/sitepress-multilingual-cms/inc/absolute-links/absolute-links.class.php on line 186

February 12, 2024 at 10:24 am #15292149

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

Before proceeding further, may I ask you to try the following?

IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised.

- Deactivate all plugins except WPML and its addons and check for the issue.
- Activate each plugin one-by-one, while keeping check on the issue after a plugin is activated. This way you'll be able to pinpoint a plugin having a conflict (or problem), if any.
- If the problem persists, repeat the above steps with a default theme of WordPress (i.e. 2021 or 2023).

Please let me know and I'll try my best to help you further on the matter.

Regards.

February 12, 2024 at 11:01 am #15292320

ralfW-7

I can't deactivate plugins or theme. The error appear suddenly since last thursday. Can we check which data causes this error ?

February 12, 2024 at 12:35 pm #15293173

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

I checked in our forums and apparently couldn't find any solid reason for that. Can you check the error log to provide more details on this warning? Perhaps a detailed dump of the error may point to something useful.

Or we will need to go through the steps I mentioned earlier. If it is not possible to check on the live site, I'll advise to create a staging/test site by cloning the live site. So we can investigate without compromising the original site.

Please let me know.

The topic ‘[Closed] Error PHP Warning: preg_match(): Unknown modifier '-'’ is closed to new replies.