Unknown Modifier Error

#41391
  • Resolved Michel Fortin
    Rank Math pro

    This line appears on top of my 404 pages, and I don’t know why. I tried clearing caches, deactivating plugins, and nothing is working. Help?

    Warning: preg_match(): Unknown modifier ‘(‘ in /XXXXXXXX/public/wp-content/plugins/seo-by-rank-math/vendor/mythemeshop/wordpress-helpers/src/helpers/class-str.php on line 95

Viewing 5 replies - 1 through 5 (of 5 total)
  • Todd
    Rank Math free

    Hi Michel,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    You had this regex present in the exclude paths at WordPress Dashboard > Rank Math > General Settings > 404 Monitor:
    /page/(\d+)/?$

    I have removed that and the issue is gone now.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Right, because I want to ignore paginated archives in my 404s. If there’s another way, I’d ve greatly appreciative of an alternative.

    Thank you, by the way.

    Actually, I’ll just use /page/ and “contains” that should work.

    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 5 replies - 1 through 5 (of 5 total)

The ticket ‘Unknown Modifier Error’ is closed to new replies.