{"id":15682009,"date":"2022-05-26T14:35:37","date_gmt":"2022-05-26T14:35:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-warning-array-to-string-conversion\/"},"modified":"2022-05-26T14:35:37","modified_gmt":"2022-05-26T14:35:37","slug":"php-warning-array-to-string-conversion","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-warning-array-to-string-conversion\/","title":{"rendered":"PHP Warning: Array to string conversion"},"content":{"rendered":"<p>Hello WPMU DEV,<\/p>\n<p>I would like to first say that I enjoy using the Hummingbird plugin for caching.<\/p>\n<p>I&#8217;m receiving a <strong>PHP Warning:  Array to string conversion<\/strong> for code located in <code>hummingbird-performance\/core\/modules\/minify\/class-minify-group.php<\/code> line 959.<\/p>\n<p>The code is:<br \/>\n<code>$hash      .= implode( &#039;-&#039;, $handles_versions );<\/code><\/p>\n<p>$handles_versions is probably a multi-dimensional array that is being imploded and PHP doesn&#8217;t like that, even though it doesn&#8217;t throw out an error.<\/p>\n<p>Hopefully you can address this in your next version.<\/p>\n<p>Thanks!<\/p>\n<p>-Ilir<\/p>\n","protected":false},"template":"","class_list":["post-15682009","topic","type-topic","status-publish","hentry","topic-tag-array","topic-tag-implode","topic-tag-php-warning"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15682009","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\/15682009\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15682009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}