{"id":30324,"date":"2004-01-17T10:14:41","date_gmt":"2004-01-17T10:14:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/category-link-problem\/"},"modified":"2016-08-18T18:16:20","modified_gmt":"2016-08-18T18:16:20","slug":"category-link-problem","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/category-link-problem\/","title":{"rendered":"Category Link Problem"},"content":{"rendered":"<p>I&#8217;m having a problem with categories. I&#8217;m using this tag &lt;?php list_cats() ?&gt; to invoke a list of all categories. I also tried &lt;?php list_cats(0, &#8216;All&#8217;, &#8216;name&#8217;); ?&gt;. Both bring up the category list fine but when I click on any of the category links I get this error:<br \/>\n&#8220;Warning: Invalid argument supplied for foreach() in \/home\/fetal\/public_html\/index.php on line 100&#8221;<br \/>\nI&#8217;m using version RC 101 and I have SEFriendly URLs feature turned on if that is related to the error.<br \/>\nAny ideas?<br \/>\nThanks<\/p>\n","protected":false},"template":"","class_list":["post-30324","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/30324","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\/30324\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=30324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}