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

Last updated by Waqas Bin Hasan 8 months, 2 weeks ago.

Assisted by: Waqas Bin Hasan.

Author Posts
February 15, 2024 at 7:41 am #15305281

coinQ

PHP Warning: preg_match(): Unknown modifier '-' in /wp-content/plugins/sitepress-multilingual-cms/inc/absolute-links/absolute-links.class.php on line 186

February 15, 2024 at 8:16 am #15305432

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for reaching out to WPML Support.

Before this thread gets assigned to my colleague, I'd like to offer some initial guidance or potential solutions.

In similar past cases, resetting the permalink structure has resolved the issue. Could you please navigate to "Settings > Permalinks", simply save the permalink settings again, and see if this addresses the problem?

Let us know the update. We will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

February 21, 2024 at 8:07 am #15325674

coinQ

Hello,

We reset the permalinks as you mentioned, but still, we are seeing the same error on the logs. Do we need to clear the caches? The website is on a WP Engine server.

Thank you

February 21, 2024 at 10:31 am #15326927

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Hi,

Thank you for contacting the support, I am assigned this ticket and 'll help you fix the problem.

Since you mentioned you've tried what my colleague mentioned. Can you please confirm if you've tried exactly the following steps?

- Disable the XML Sitemap Generator for Google plugin
- Resave the permalinks settings in Dashboard > Settings > Permalinks

Regards.

February 21, 2024 at 1:24 pm #15328198

coinQ

Hello,

No, I have only re-saved the permalinks. I didn't disable any plugins.

This is our sitemap plugin, and if we disable it, how will the sitemap work? How will new posts be indexed?

Please let me know your thoughts

Thank you

February 22, 2024 at 5:01 am #15331032

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Thank you for the updates.

My apologies if I am not being clear enough. After those steps you can reactivate the plugin and see if problem is resolved.

I assume that you'd have done that and problem has been resolved. But is this possible if you've a backup prior to this fix, where the problem exists? And if you'd like to share with us?

Our team is interested in working on a proper fix for this, so it can be prevented in the future.

If you agree and interested in sharing that, I'll request a copy of your site having that problem (not the one which fixed it). I've enabled your next reply as private to share the details safely.

Please see https://wpml.org/faq/provide-supporters-copy-site/ for more details.

P.S.: In case if you're unable to create a package using Duplicator plugin, you can use All-in-One WP Migration (https://wordpress.org/plugins/all-in-one-wp-migration/) plugin. Despite that if you've that copy of the site up and running somewhere, we can arrange for a direct copy to our Cloudways servers too, please let me know.

February 22, 2024 at 6:04 am #15331098

coinQ

Hello,

We have a staging server with a copy of the live site, and it has the same issue. I can provide the credentials for the same, so you can check and find possible solutions.

Note: Do not share databases, files, analytics, or anything related to coinedition.com with anyone. Please make sure it is only used for your studies and testing. 

Please let me know your thoughts.

Thank you

February 22, 2024 at 10:17 am #15332492

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Yes please, that'd be great.

And of course, that won't be shared with anyone outside our support.

I'll copy the site to our CW servers, so it is also not indexed by search engines and is secured to our support only.

I've set your next reply as private to share this information safely.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

February 23, 2024 at 12:15 pm #15337542

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Thank you for the access. I'll login on Monday and 'll clone the site to our secure servers. I'll also make sure that the site isn't accessible publicly and is only used for our internal testing purposes.

I'll then let you know and you can revoke the access as needed.

Have a great weekend 🙂

February 26, 2024 at 6:37 am #15342286

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Thank you for your patience and cooperation. I've tried to migrate the site to our secure servers, but looks like the site is very huge and migration fails in the half way. So I've cancelled the migration.

I am discussing with the team if they can login to your dev site and have a look what we may need for understanding about the said issue.

I'll update you soon on this, so we can move forward accordingly.

Thanks again.

February 26, 2024 at 10:16 am #15343397

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Thank you for your cooperation.

I discussed with the team and turns out that we don't need full site backup but only the database.

I tried to create a DB backup but looks like DB itself is either huge or there are some restrictions, that I couldn't get one.

Can you please create a database only backup from your server, for this staging site and share the download link?

I've set your next reply as private to share this safely.

Thanks in advance.

February 27, 2024 at 9:28 am #15348004

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Thank you for the DB backup, I've downloaded and forwarded to the team.

March 1, 2024 at 10:44 am #15362325

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Thank you for your patience and cooperation.

Our team analyzed the DB dump, as well as, your staging site but can't find anything relating to that problem. Perhaps it's been fixed in there too.

However, if in future, you run into the same issue again, please isolate the problem by creating a site package and DB dump, before fixing it. And I'll request to report accordingly, so we can then investigate and try to find the actual reason behind it.

Please feel free to close this ticket for now.

Have a great weekend 🙂

March 6, 2024 at 10:39 am #15378459

coinQ

Hello,

I think the issue still persists on the live website. We can see the error logs in the WP Engine server portal.

What will we do?

March 6, 2024 at 12:34 pm #15379245

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Please isolate the problem by cloning your site to a staging or test site, then reproduce the issue and note down the exact steps.

And then let me know if I can observe and reproduce the same in your test site (by following the steps you noted).

I've enabled your next reply as private to provide the access to the test site, when you're ready.

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