This thread is resolved. Here is a description of the problem and solution.
Problem:
The client encountered an error while running a wp-cli command, which resulted in a warning message about a missing closing parenthesis in the preg_replace() function within the WPML plugin file absolute-links.class.php.
Solution:
We asked the client to provide more details about the wp-cli command they were trying to run and any additional information that could be relevant. We also suggested that the issue might not be directly related to the WPML plugin, as similar issues have been reported with other plugins. We provided a link to a similar issue on the WordPress support forum:
https://wordpress.org/support/topic/preg_match_all-compilation-failed-missing-closing-parenthesis/
Additionally, we created a custom Google search for the client to explore other possible solutions:
https://www.google.com/search?q=wpml+Warning%3A+preg_replace()%3A+Compilation+failed%3A+missing+closing+parenthesis
If the provided solution is outdated or not applicable to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins.
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.
This topic contains 1 reply, has 2 voices.
Last updated by 9 months, 2 weeks ago.
Assisted by: Mihai Apetrei.