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
I repeated the same thing again as you did and no error appeared.
It seems to be the case if the Post already exists.
When moving these POSTs to the Trash, I got the same error.
The next time I completely deleted the posts from the Trash and Imported them again, the error reproduced.
I have emptied the relevant category again, so please try Import.
Note that the imported post will be in the category "イリコスキー製麺所 所長のBLOG" category ID=57.
Languages: English (English )Spanish (Español )Italian (Italiano )
Timezone: Europe/Madrid (GMT+02:00)
I have done the import and see the error:
Warning: preg_match(): Unknown modifier '-' in /home/path3/iricosky.net/public_html/wp/wp-content/plugins/sitepress-multilingual-cms/inc/absolute-links/absolute-links.class.php on line 186
Even if the error appears does the import works correctly?
Please try two thing:
- change php version
- deactivate all the plugins and leave only the WPML ones to see if there is a conflict with a plugin