• Resolved Martin



    In our new website we find type error with leading to error 500.

    strpos(): Argument #1 ($haystack) must be of type string, array given
    (seo-by-rank-math-pro/includes/modules/image-seo/class-image-seo-pro.php: 109)

    This is start of maybe_exclude_image_vars() method. We don’t have any additional code relative to rankmath and we are using PHP 8.1

Viewing 3 replies - 1 through 3 (of 3 total)
  • Pro issues should be reported directly to Rank Math via a support ticket. When you do, provide your site URL and the way to reproduce the error.

    But first, I see strpos() on line 117, so perhaps you should update the plugin first, and then test again.

    • This reply was modified 1 year, 5 months ago by Gal Baras.
    Thread Starter Martin


    Yep, you right I didn’t update pro variant and that fix the issue 🙂

    Plugin Support Rank Math Support


    Hello @martinplr,

    Thank you for contacting the support.

    In the future, as you’re using the PRO version of Rank Math, please open a support ticket here so that we can have a closer look at the issue:

    We’re looking forward to helping you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘strpos error in class-image-seo-pro.php:109, array given’ is closed to new replies.