{"id":4464116,"date":"2014-01-02T20:10:14","date_gmt":"2014-01-02T20:10:14","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/implode-arg-needs-array\/"},"modified":"2016-08-21T14:20:16","modified_gmt":"2016-08-21T14:20:16","slug":"implode-arg-needs-array","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/implode-arg-needs-array\/","title":{"rendered":"implode arg needs array"},"content":{"rendered":"<p><strong>php warning<\/strong><\/p>\n<blockquote>\n<p>Warning: implode(): Invalid arguments passed in \/wp-content\/plugins\/widget-logic-by-path\/widget_logic_by_path.php on line 84<\/p>\n<\/blockquote>\n<p><strong>fix<\/strong><\/p>\n<pre><code>$master_pattern = &quot;\/^&quot; . implode($patterns, array(&quot;$|^&quot;)) . &quot;$\/i&quot;;<\/code><\/pre>\n<p>thanks for the plugin, hope this helps.<br \/>\nhttps:\/\/wordpress.org\/plugins\/widget-logic-by-path\/<\/p>\n","protected":false},"template":"","class_list":["post-4464116","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4464116","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\/4464116\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4464116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}