{"id":15148357,"date":"2021-12-09T17:14:01","date_gmt":"2021-12-09T17:14:01","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-warning-324\/"},"modified":"2021-12-09T17:14:01","modified_gmt":"2021-12-09T17:14:01","slug":"php-warning-324","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-warning-324\/","title":{"rendered":"PHP warning"},"content":{"rendered":"<p>Hello @avantman42,<\/p>\n<p>Your plugin is a great idea. Many thanks.<\/p>\n<p>I would like to let you know that it appears in debug file this message after activation:<\/p>\n<p><code>PHP Warning: foreach() argument must be of type array|object, null given in \/home\/user\/domain.com\/wp-content\/plugins\/local-links\/local-links.php on line 72<\/code><\/p>\n<p>My configuration:<br \/>\nWordPress 5.8.2<br \/>\nPHP 8.0<\/p>\n<p>Hope this is helpful for you. Have a nice day!<\/p>\n","protected":false},"template":"","class_list":["post-15148357","topic","type-topic","status-publish","hentry","topic-tag-php-warning"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15148357","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\/15148357\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15148357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}