{"id":5736845,"date":"2015-02-01T00:47:27","date_gmt":"2015-02-01T00:47:27","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/array-to-string-conversion-error\/"},"modified":"2016-08-22T16:02:34","modified_gmt":"2016-08-22T16:02:34","slug":"array-to-string-conversion-error","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/array-to-string-conversion-error\/","title":{"rendered":"Array to string conversion error"},"content":{"rendered":"<p>PHP Notice:  Array to string conversion in &#8230;..\/wp-content\/plugins\/ssh-sftp-updater-support\/class-wp-filesystem-ssh2.php on line 316<br \/>\nPHP Notice:  Array to string conversion in &#8230;..\/wp-content\/plugins\/ssh-sftp-updater-support\/class-wp-filesystem-ssh2.php on line 317<\/p>\n<p>I think it is a small mistake made there, i solved it like so:<\/p>\n<pre><code>diff class-wp-filesystem-ssh2.php.bku class-wp-filesystem-ssh2.php\n316,317c316,317\n&lt; \t\t\t$struc[&#039;owner&#039;]    \t= $this-&gt;owner($path.&#039;\/&#039;.$entry, $entry[&#039;uid&#039;]);\n&lt; \t\t\t$struc[&#039;group&#039;]    \t= $this-&gt;group($path.&#039;\/&#039;.$entry, $entry[&#039;gid&#039;]);\n---\n&gt; \t\t\t$struc[&#039;owner&#039;]    \t= $this-&gt;owner($path.&#039;\/&#039;.$name, $entry[&#039;uid&#039;]);\n&gt; \t\t\t$struc[&#039;group&#039;]    \t= $this-&gt;group($path.&#039;\/&#039;.$name, $entry[&#039;gid&#039;]);\n335c335\n&lt; }\n\\ No newline at end of file\n---\n&gt; }<\/code><\/pre>\n<p>https:\/\/wordpress.org\/plugins\/ssh-sftp-updater-support\/<\/p>\n","protected":false},"template":"","class_list":["post-5736845","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5736845","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\/5736845\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5736845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}