[Plugin: Yet Another Related Posts Plugin] Error during upgrade/install
-
I’ve been seeing a recurring problem for a while. When I try to upgrade yarpp, I get an error along these lines:
`Warning: filesize(): stat failed for ssh2.sftp://Resource id #520/var/www/vhosts/dougal.gunters.org/wordpress/wp-content/upgrade/yet-another-related-posts-plugin.tmp/yet-another-related-posts-plugin/lang/yarpp-pt_PT.po in /var/www/vhosts/dougal.gunters.org/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php on line 305 Warning: filemtime(): stat failed for ssh2.sftp://Resource id #520/var/www/vhosts/dougal.gunters.org/wordpress/wp-content/upgrade/yet-another-related-posts-plugin.tmp/yet-another-related-posts-plugin/lang/yarpp-pt_PT.po in /var/www/vhosts/dougal.gunters.org/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php on line 300 Warning: file_get_contents(): Unable to open ssh2.sftp://Resource id #520/var/www/vhosts/dougal.gunters.org/wordpress/wp-content/upgrade/yet-another-related-posts-plugin.tmp/yet-another-related-posts-plugin/lang/yarpp-pt_PT.po on remote host in /var/www/vhosts/dougal.gunters.org/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php on line 155 Warning: file_get_contents(ssh2.sftp://Resource id #520/var/www/vhosts/dougal.gunters.org/wordpress/wp-content/upgrade/yet-another-related-posts-plugin.tmp/yet-another-related-posts-plugin/lang/yarpp-pt_PT.po): failed to open stream: Success in /var/www/vhosts/dougal.gunters.org/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php on line 155 Warning: file_get_contents(): Unable to open ssh2.sftp://Resource id #520/var/www/vhosts/dougal.gunters.org/wordpress/wp-content/upgrade/yet-another-related-posts-plugin.tmp/yet-another-related-posts-plugin/lang/yarpp-pt_PT.po on remote host in /var/www/vhosts/dougal.gunters.org/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php on line 155 Warning: file_get_contents(ssh2.sftp://Resource id #520/var/www/vhosts/dougal.gunters.org/wordpress/wp-content/upgrade/yet-another-related-posts-plugin.tmp/yet-another-related-posts-plugin/lang/yarpp-pt_PT.po): failed to open stream: Success in /var/www/vhosts/dougal.gunters.org/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php on line 155 Warning: filesize(): stat failed for ssh2.sftp://Resource id #520/var/www/vhosts/dougal.gunters.org/wordpress/wp-content/upgrade/yet-another-related-posts-plugin.tmp/yet-another-related-posts-plugin/lang/yarpp-pt_PT.po in /var/www/vhosts/dougal.gunters.org/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php on line 305 Warning: filemtime(): stat failed for ssh2.sftp://Resource id #520/var/www/vhosts/dougal.gunters.org/wordpress/wp-content/upgrade/yet-another-related-posts-plugin.tmp/yet-another-related-posts-plugin/lang/yarpp-pt_PT.po in /var/www/vhosts/dougal.gunters.org/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php on line 300
Could not copy file. /var/www/vhosts/dougal.gunters.org/wordpress/wp-content/plugins/yet-another-related-posts-plugin/lang/yarpp-pt_PT.poPlugin install failed.
</blockquote> What I've just found is that in my <code>wp-content/upgrade/yet-another-related-posts-plugin.tmp/yet-another-related-posts-plugin/lang/</code> directory, there is a file named 'yarpp-pt_PT.powith a [space] character actually at the end of the filename.
Has anybody else seen this?
I’ve had to download the zip and install manually, in order to work around this.
http://ww.wp.xz.cn/extend/plugins/yet-another-related-posts-plugin/
The topic ‘[Plugin: Yet Another Related Posts Plugin] Error during upgrade/install’ is closed to new replies.