Skip Navigation

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

Problem:
The client reported a parse error with a warning message indicating an issue with the

preg_match()

function in the WPML plugin file

absolute-links.class.php

on line 186.
Solution:
We identified the problem as a conflict with the WP Bakery Page Builder plugin. We resolved the issue by removing the warning message, allowing the client to continue working on the website without further issues.

If you're experiencing a similar issue, we recommend checking for any conflicts with other plugins, especially page builders like WP Bakery. If the problem persists, ensure you have the latest version of the WPML plugin installed. If you're still encountering difficulties, we suggest visiting our known issues page and checking for any related problems. It's also important to verify that you have the latest versions of your themes and plugins.

Please note that the solution provided might be outdated or not applicable to your case. If you need further assistance, don't hesitate to open a new support ticket. For direct support, you can reach out to us on our support forum.

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 2 replies, has 2 voices.

Last updated by Kor 1 year, 4 months ago.

Assisted by: Kor.

Author Posts
February 19, 2024 at 2:28 pm #15318871

marianw

hello, I have this parse error caused by your plugin

Warning
: preg_match(): Unknown modifier '-' in
/data/9/e/9e4fcfa4-b5aa-4d0d-b1e4-1af76249f6fc/wvsignage.sk/web/wp-content/plugins/sitepress-multilingual-cms/inc/absolute-links/absolute-links.class.php
on line
186

you can see the error on main page hidden link

Screenshot 2024-02-19 153039.jpg
February 19, 2024 at 2:42 pm #15319092

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

February 20, 2024 at 6:05 pm #15324336

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

It looks like a conflict with the WP bakery page builder and I've removed the warning message and you can safely work on the Website without issues.

February 21, 2024 at 8:37 am #15325902

marianw

great job thanx.