Background of the issue:
I am trying to fix a bug with the WPML plugin. Here is the link to the page where the issue can be seen: hidden link. The code causing the issue is: if ( preg_match( "~^$match~", $request_match, $matches ) || preg_match( "~^$match~", urldecode( $request_match ), $matches ) ) {
Symptoms:
Instead of fixing the bug, I encountered an issue with the preg_match function in the code.
Questions:
What is causing the preg_match function to fail?
How can I fix the bug in the WPML plugin?
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.
The topic ‘[Closed] Bug with the code plugin’ is closed to new replies.