PHP Warning: preg_match_all(): Compilation failed

#200042
  • Resolved Ade A
    Rank Math pro

    Hello,

    I am receiving the following errors in my website error log. Please investigate and revert. Thanks.

    [20-May-2021 19:55:19 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 111 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 19:55:19 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 111 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 19:55:19 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 111 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 19:55:19 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 111 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 19:58:37 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 95 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 19:58:37 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 95 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 19:58:37 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 95 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 19:58:38 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 95 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 20:00:58 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 52 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 20:00:58 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 52 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 20:00:58 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 52 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 20:00:59 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 52 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 20:03:25 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 90 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 20:03:25 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 90 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 20:03:26 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 90 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 20:03:26 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 90 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 20:03:26 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 90 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489
    [20-May-2021 20:03:26 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 90 in /home/xxxxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 489

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it seems like the auto-generated description from the focus keyword or metadata is throwing this error.

    This error can be caused if you happen to have parenthesis not closed in your focus keyword or metadata.

    Can you please let us know what focus keyword & content you have added in the post/page so we can try and replicate this from our end?

    I hope that helps.

    Thank you, and looking forward to your update.

    Hi,

    Thank you for your response.

    The focus keywords I auto-generated contained tags and titles (where possible). Yes, it’s possible.

    What should I do to fix the issues?

    Cheers!

    Hello,

    Thank you for keeping in touch with us.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi,

    I have provided the information requested. I don’t know specifically the first post in the tickets as I have new articles posted since.

    Thank you.

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us.

    Would you mind providing us with your FTP credentials to check on your error log?

    This issue normally happens if you have used certain symbols within your Focus keyword.

    Not sure when this issue started to happen but your error log can help.

    We are looking forward to helping you.
    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I have updated the credentials.

    Hello,

    Thanks for getting back to us.

    This error is happening because some of your focus keywords have an opening parenthesis and not a closing one, such as this one:
    Opening parenthesis

    You’ll need to correct all the posts with those incorrect focus keywords in order to get rid of this error.

    Hope this helps solve your issue.

    Don’t hesitate to get in touch if you require any further assistance.

    Hi,

    Thank you for pointing it out.

    How best can I spot and correct them? I have lots of articles.

    Regards.

    Hello,

    Thanks for getting back to us.

    A quick way to spot them would be to access your database and make a query on your wp_postmeta table for the meta key rank_math_focus_keyword and in the values, you should filter the ones which include an opening parenthesis.

    Hope this helps solve your issue.

    Don’t hesitate to get in touch if you require any further assistance.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi,

    This issue has now been resolved.

    Thanks for your help.

    Regards.

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 14 replies - 1 through 14 (of 14 total)

You must be logged in to reply to this ticket.