{"id":6523756,"date":"2015-09-08T16:56:31","date_gmt":"2015-09-08T16:56:31","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/invalid-argument-error-10\/"},"modified":"2016-08-30T17:45:45","modified_gmt":"2016-08-30T17:45:45","slug":"invalid-argument-error-10","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/invalid-argument-error-10\/","title":{"rendered":"Invalid Argument error"},"content":{"rendered":"<p>I&#8217;m getting an error that is being caused by Woocommerce:<\/p>\n<p>Warning: Invalid argument supplied for foreach() in \/homepages\/37\/d578925028\/htdocs\/clickandbuilds\/FactormattSellsYourCars\/wp-includes\/class.wp-dependencies.php on line 337<\/p>\n<p>Warning: in_array() expects parameter 2 to be array, null given in \/homepages\/37\/d578925028\/htdocs\/clickandbuilds\/FactormattSellsYourCars\/wp-includes\/class.wp-dependencies.php on line 342<\/p>\n<p>My website: <a href=\"http:\/\/factormattsellsyourcars.com\">factormattsellsyourcars.com<\/a><\/p>\n<p>I use 1&amp;1 hosting if that helps any.<\/p>\n<p>You&#8217;ll notice that this error displays repeatedly at the bottom of the page.<\/p>\n<p>I figured out that it was Woocommerce causing this by deactivating all of my plugins and then reactivating them one by one. It&#8217;s also not a theme issue either since the errors display in every theme I tried to use. I also deleted and then reinstalled the plugin to no avail.<\/p>\n<p>Do you have any ideas on how I can fix this?<\/p>\n<p>Thanks for your help!<\/p>\n<p>https:\/\/wordpress.org\/plugins\/woocommerce\/<\/p>\n","protected":false},"template":"","class_list":["post-6523756","topic","type-topic","status-publish","hentry","topic-tag-display","topic-tag-invalid-argument"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6523756","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\/6523756\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6523756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}