{"id":1191071,"date":"2009-08-26T17:39:53","date_gmt":"2009-08-26T17:39:53","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-category-templates-nice-but-php-error\/"},"modified":"2016-08-19T13:48:23","modified_gmt":"2016-08-19T13:48:23","slug":"plugin-category-templates-nice-but-php-error","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-category-templates-nice-but-php-error\/","title":{"rendered":"[Plugin: Category Templates] Nice-BUT PHP error"},"content":{"rendered":"<p>When turning PHP error messages on, I get this:<\/p>\n<p>Warning: Invalid argument supplied for foreach() in \/path\/to\/my\/site\/httpd.www\/wp-content\/plugins\/category-templates\/cat-templates.php on line 91<\/p>\n<p>Warning: Invalid argument supplied for foreach() in \/path\/to\/my\/sitehttpd.www\/wp-content\/plugins\/category-templates\/cat-templates.php on line 99<\/p>\n<p>The plugin works, but, these error messages must tell that something is wrong, or?<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/category-templates\/<\/p>\n","protected":false},"template":"","class_list":["post-1191071","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1191071","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\/1191071\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1191071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}