We see a lot of log errors with Rank Math.

#1010100
  • Resolved Html Aps
    Rank Math free

    Hello Rank Math

    I hope you can help me out on this one, we see a lot of errors in our log from Rank Math (more then 100 mb of error logs a day from Rank Math.)

    Here is what it post:

    2025/04/15 00:37:46 [error] 353963#353963: *9538 FastCGI sent in stderr: "PHP message: PHP Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 6 in /var/www/highhouse.dk/public_
    html/wp-content/plugins/seo-by-rank-math/includes/helpers/class-str.php on line 95" while reading response header from upstream, client: 172.71.172.77, server: highhouse.dk, request: "GET /b/storz-bickel/ HTTP/1.1", upstream
    : "fastcgi://unix:/var/run/php-fpm-highhouse.sock:", host: "highhouse.dk"

    Can you suggest a solution for this?

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

    We apologize for the issue you are facing with the error logs from Rank Math. The error message you provided indicates a problem with a regular expression in the Rank Math plugin, specifically in the class-str.php file.

    To help resolve this issue, we recommend the following steps:

    1. Update Rank Math: Ensure that you are using the latest version of the Rank Math plugin. Updates often include bug fixes and improvements that may resolve such issues.

    2. Check PHP Version: Make sure your server is running a supported version of PHP. Rank Math works best on the latest stable versions of PHP. You can check how to upgrade your PHP version here.

    3. Review Server Logs: Analyze your server logs to pinpoint any additional errors that may be contributing to this issue.

    4. Contact Hosting Provider: If the problem persists after updating and checking your PHP version, it may be beneficial to reach out to your hosting provider for further assistance, as they can help diagnose server-side issues.

    If you continue to experience difficulties, please reply to this ticket with your site URL, and a human agent from our support team will assist you further.

    Thank you for bringing this to our attention!

    Sources:
    This Plugin Does Not Work with Your Version of PHP » Rank Math

    I was talking to my host provider, that recommanded me writing to you.

    Hello,

    From the error log, it seems that you have added a custom PHP filter on your site that generates the error. Could you please confirm if you have recently added one?

    If so, please share the code/filter here so we can check.

    You can use this tool to copy and paste it, then share the generated link here:
    https://pastebin.com/

    Looking forward to helping you.

    Thank you very much for your replay and time. I tried to disable WP Code Lite in my plugin where is all our PHP Snippet/Script run from and the error was still occuring.

    2025/04/21 00:20:14 [error] 568659#568659: *1271308 FastCGI sent in stderr: "PHP message: PHP Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 6 in /var/www/highhouse.dk/public_html/wp-content/plugins/seo-by-rank-math/includes/helpers/class-str.php on line 95; PHP message: PHP Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 6 in /var/www/highhouse.dk/public_html/wp-content/plugins/seo-by-rank-math/includes/helpers/class-str.php on line 95" while reading response header from upstream, client: 172.71.164.121, server: highhouse.dk, request: "GET /hancock-ice-cream-25-cl/?cache_bust=1745187612 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm-highhouse.sock:", host: "highhouse.dk"

    Hello,

    In this case, 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.

    Please do take a complete backup of your website before sharing the information with us.

    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.

    I’m sorry for the long response, can we continue this. I’ll send over the information?

    Hello,

    Sure, please share your website’s WP admin login information in the Sensitive Data section of this ticket so we can debug the issue.

    Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘We see a lot of log errors with Rank Math.’ is closed to new replies.