WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Yet Another Related Posts Plugin] Error during upgrade/install

[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.po

    Plugin 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.po

    with 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://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] Error during upgrade/install’ is closed to new replies.