{"id":14097338,"date":"2021-02-24T17:55:50","date_gmt":"2021-02-24T17:55:50","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/undefined-variable-post_types\/"},"modified":"2021-02-24T17:55:50","modified_gmt":"2021-02-24T17:55:50","slug":"undefined-variable-post_types","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/undefined-variable-post_types\/","title":{"rendered":"Undefined variable $post_types"},"content":{"rendered":"<p>Hi,<\/p>\n<p>the plugin itself works great and did the last years. Thanks for that. <\/p>\n<p>I just discovered a PHP Warning:  <\/p>\n<p>Undefined variable $post_types in wp-content\/plugins\/yet-another-related-posts-plugin\/classes\/YARPP_Core.php on line 1103<\/p>\n<p>I am running PHP 8. <\/p>\n","protected":false},"template":"","class_list":["post-14097338","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14097338","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\/14097338\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14097338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}