Compilation Failed
-
Hi there, what could be causing this error?
[18-Apr-2023 21:04:44 UTC] PHP Warning: preg_match_all(): Compilation failed: unmatched closing parenthesis at offset 16 in public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545
-
[20-Apr-2023 16:17:01 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 7 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 16:17:01 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 7 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 16:17:02 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 7 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 16:17:02 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 7 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 16:34:04 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 16 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 16:34:04 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 16 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 16:34:04 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 16 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 16:34:04 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 16 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 17:04:37 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 24 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 17:04:37 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 24 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 17:04:37 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 24 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 17:04:37 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 24 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 17:52:15 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 28 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 17:52:15 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 28 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 17:52:15 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 28 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545 [20-Apr-2023 17:52:15 UTC] PHP Warning: preg_match_all(): Compilation failed: missing closing parenthesis at offset 28 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545
Hello @wonderingthi,
Thank you for contacting the support and sorry for the inconvenience caused.
There might be a keyword you’ve added with the opening parenthesis which doesn’t contain a closing parenthesis. For example, a keyword
Rank(Math
is there instead ofRank(Math)
.In order to fix this issue, you’ll need to add the closing parenthesis there. You may update the keyword from the post/page if you can remember something similar to this one.
If you’re clueless about where the affected keyword can be, a quick way to spot them would be to access your database and make a query on your
wp_postmeta
table for the meta keyrank_math_focus_keyword
and in the values, you should filter the ones which include an opening parenthesis.Let us know how it goes. Looking forward to helping you.
I did what you asked and deleted keywords without closing parenthesis.
I’m still getting a lot of this warning though:
[21-Apr-2023 16:52:54 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 7 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545
[21-Apr-2023 16:52:54 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 7 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545
[21-Apr-2023 17:57:43 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 6 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545
[21-Apr-2023 17:57:43 UTC] PHP Warning: preg_match_all(): Compilation failed: quantifier does not follow a repeatable item at offset 6 in /home/nialdzc/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php on line 545Hello @wonderingthi,
Can you please check other special characters in your focus keyword like *, +, or [ ]?
Usually, these types of characters also tend to cause warnings.
If the issue persists, please ensure that you are using the latest version of Rank Math plugin. If not yet, please do update them. You may refer to our changelog page here: https://rankmath.com/changelog/
Looking forward to helping you.
- The topic ‘Compilation Failed’ is closed to new replies.