{"id":18682687,"date":"2025-10-15T18:54:01","date_gmt":"2025-10-15T18:54:01","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wc_get_related_products-error-in-logs-2\/"},"modified":"2025-10-15T18:54:01","modified_gmt":"2025-10-15T18:54:01","slug":"wc_get_related_products-error-in-logs-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wc_get_related_products-error-in-logs-2\/","title":{"rendered":"wc_get_related_products error in logs"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I keep seeing this error show up in my logs and I don\u2019t know what is causing this. Invalid limit type passed to wc_get_related_products. Expected integer, got string with value: \u201c4\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have searched in themese\/astra\/functions.php but can\u2019t find \u201cwc_get_related_products\u201d.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I am not sure where else I can check to see what might be causing this.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I am using the Astra theme Version: 4.11.13 currently<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your help is greatly appreciated.<\/p>\n","protected":false},"template":"","class_list":["post-18682687","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18682687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18682687\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18682687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}