• It’s been a while that I started to get hundreds of these warnings in the log file, I guess after an update because I had no errors under normal circumstanses.

    PHP: 8.0.14

    PHP Warning:  Undefined array key 1 in /.../plugins/seo-by-rank-math/includes/modules/analytics/google/class-url-inspection.php on line 74
    

    Any idea if something on my end is causing it or if it can be fixed?

    Thanks!
    (Great plugin, keep up the good work!)

    • This topic was modified 3 years, 8 months ago by Evangelos Derventzis. Reason: Wrote errors instead of warnings
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @derventzie,

    Thank you for contacting Rank Math, and sorry for any inconvenience that might have been caused due to that.

    This happens when the language code on your website doesn’t include a country locale and only the main language identifier.

    Please make sure that you select the language on your website to include a country locale under WordPress Dashboard > Settings > General.

    Don’t hesitate to get in touch if you have any other questions.

    @rankmathteam Hi i discovered this topic cause i have the same issue, this is still happen even if the locale is selected. i have the premium version

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @bpmstudio

    Thank you for your message.

    Since you have the PRO version, please open a new support ticket here so we can assist you better:
    https://support.rankmath.com/product/rank-math-pro-business/?view=all

    Looking forward to helping you. Thank you.

    Thread Starter Evangelos Derventzis

    (@derventzie)

    Hello and sorry for my late reply,

    Indeed, the language code on my website doesn’t include a country locale but only the main language identifier.

    Surprisingly the errors have stopped without me changing anything language related. In any case, it’s good to know the origin of them.

    Again, thanks for your help!

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @derventzie,

    We are glad that the error logs are no longer showing on your end. If you ever happen to see them again, just let us know here, and we will be more than happy to help you resolve it.

    If it isn’t too much to ask for – would you mind leaving us a review here?
    https://ww.wp.xz.cn/support/plugin/seo-by-rank-math/reviews/#new-post

    It only takes a couple of minutes but helps us tremendously.

    It would mean so much to us and would go a really long way.

    Thank you.

    Thread Starter Evangelos Derventzis

    (@derventzie)

    Review added.
    Thank you for your work.

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

The topic ‘PHP Warning: Undefined array key 1 in class-url-inspection.php’ is closed to new replies.