Array to string conversion error
-
PHP Notice: Array to string conversion in …../wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php on line 316
PHP Notice: Array to string conversion in …../wp-content/plugins/ssh-sftp-updater-support/class-wp-filesystem-ssh2.php on line 317I think it is a small mistake made there, i solved it like so:
diff class-wp-filesystem-ssh2.php.bku class-wp-filesystem-ssh2.php 316,317c316,317 < $struc['owner'] = $this->owner($path.'/'.$entry, $entry['uid']); < $struc['group'] = $this->group($path.'/'.$entry, $entry['gid']); --- > $struc['owner'] = $this->owner($path.'/'.$name, $entry['uid']); > $struc['group'] = $this->group($path.'/'.$name, $entry['gid']); 335c335 < } \ No newline at end of file --- > }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Array to string conversion error’ is closed to new replies.