Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
Warning: preg_match(): Unknown modifier '-' in /home/foo/bar.com/public_html/wp/wp-content/plugins/sitepress-multilingual-cms/inc/absolute-links/absolute-links.class.php on line 186 when importing posts from wordpress and with Google sitemap xml plugin activated

Solution:
https://wpml.org/errata/php-warning-preg_match-unknown-modifier/

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.

Tagged: 

This topic contains 16 replies, has 2 voices.

Last updated by Paola Mendiburu 1 year, 4 months ago.

Assisted by: Paola Mendiburu.

Author Posts
March 12, 2024 at 10:51 am #15398779

Paola Mendiburu
WPML Supporter since 11/2020

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

Timezone: Europe/Madrid (GMT+02:00)

Sorry for that.

I have already deleted the plugin WP File Manager, it was just to see if the debug mode was activated from the file wp-config.php.

March 12, 2024 at 10:53 am #15398802

Paola Mendiburu
WPML Supporter since 11/2020

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

Timezone: Europe/Madrid (GMT+02:00)

I am trying to reproduce the problema. I will let you know when I have the results.

March 12, 2024 at 10:58 am #15398840

Paola Mendiburu
WPML Supporter since 11/2020

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

Timezone: Europe/Madrid (GMT+02:00)

I have donde the test and works.

Maybe there is a compatibility conflict with a plugin and that is the reason why appears the error.

Could you please deactivate all the plugins and leave only the WPML and see if the issue persists?

March 15, 2024 at 11:36 pm #15416112

ryoY-2

I don't think I'm going to get anything out of this if I continue, so I'm closing this thread myself.