WordPress.org

Ready to get started?Download WordPress

Forums

SSH SFTP Updater Support
[resolved] Update to version 0.4 doesn't work (6 posts)

  1. Tatox
    Member
    Posted 1 year ago #

    Hi,

    I updated to version 0.4 with WordPress 3.5, I can see the plugin and it is activated but when I try to do some update with SSH2 I get the error message:

    Warning: fread(): supplied argument is not a valid stream resource in /var/www/wp/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Crypt/Random.php on line 93

    Warning: fread(): supplied argument is not a valid stream resource in /var/www/wp/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Crypt/Random.php on line 93

    Warning: fread(): supplied argument is not a valid stream resource in /var/www/wp/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Crypt/Random.php on line 93

    Warning: fread(): supplied argument is not a valid stream resource in /var/www/wp/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Crypt/Random.php on line 93

    Warning: fread(): supplied argument is not a valid stream resource in /var/www/wp/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Crypt/Random.php on line 93

    Warning: unpack() [function.unpack]: Type C: not enough input, need 1, have 0 in /var/www/wp/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Net/SSH2.php on line 1162

    Warning: extract() [function.extract]: First argument should be an array in /var/www/wp/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Net/SSH2.php on line 1162

    Any help ?

    Many thanks
    Paolo

    http://wordpress.org/extend/plugins/ssh-sftp-updater-support/

  2. jrm213
    Member
    Posted 1 year ago #

    I am having the same issue with the same line numbers etc...

  3. TerraFrost
    Member
    Plugin Author

    Posted 1 year ago #

    Change return fread($urandom, $length); to return fread($fp, $length) on line 93 for Random.php. I'll make an update when I get home. Thanks..

  4. jrm213
    Member
    Posted 1 year ago #

    Many Thanks! That resolved the issue for me.

  5. mistertramp
    Member
    Posted 1 year ago #

    I had this issue but it looks like the download has been updated!

  6. Tatox
    Member
    Posted 1 year ago #

    Perfect, now it works !!

    Many thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.