-
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
The ticket ‘Warning message incoming from RankMath class-product.php’ is closed to new replies.