Warning message incoming from RankMath class-product.php

#824113
  • Resolved Pascal Liénard
    Rank Math free

    Hello, I face some strange behaviour on a couple of newly added products on a website using wordpress/woocommerce.
    I tried to check on extensions side but it seems that the problem is from RankMath.
    I also upgraded everything, cleaned the cache, and even tried to use the beta of RankMath.
    Unfortunately nothing seems to help.
    Of course I could desactive php warnings, but I’de love to know why and if there is a fix or something I can do.

    Thanks a lot.
    Everything is relative to the class-product.php on …/seo-by-rank-math/includes/modules/schema/snippets/

    Error messages:

    Warning: Undefined array key 0 in …/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-product.php on line 97

    Warning: Attempt to read property “parent” on null in …/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-product.php on line 97

    Warning: Undefined array key 0 in …/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-product.php on line 101

    Warning: Attempt to read property “term_id” on null in …/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-product.php on line 101

    Warning: Undefined array key 0 in …/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-product.php on line 106

    Warning: Attempt to read property “name” on null in …/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-product.php on line 106

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math support.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress logins in the designated Sensitive Data section.

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

    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.

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

The ticket ‘Warning message incoming from RankMath class-product.php’ is closed to new replies.