WordPress.org

Ready to get started?Download WordPress

Forums

Suffusion
loading updates (1 post)

  1. rabh
    Member
    Posted 1 year ago #

    i have been having problems updating the suffusion theme since version 4.2.1 and wordpress 3.4.1.

    i have to use the ssh-sftp-updater support (v0.3) because i cannot get the standard wordpress sftp updater to work.

    every time i try to do an automatic update updating suffusion them crashes during the 'remove old files' stage. it leaves .maintenance behind and removing .maintenance doesn't fix the issue, nor does copying the files from upgrade/suffusion.tmp into the themes directory help.

    anyway, in the process of installing it removes the old files first - this is in /wp-content/plugins/ssh-sftp-updater-support/phpseclib/Net/SFTP.php and there is a foreach() that looks for the files prior to recursively deleting them.
    
    error log
    PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/ssh-sftp-updater-support/phpseclib/Net/SFTP.php on line 1591
    
    $i = 0;
    
            $entries = $this->_list($path, true, false);
            // presumably $entries will never be empty because it'll always have . and ..
            foreach ($entries as $filename=>$props) {
                if ($filename == '.' || $filename == '..') {
                    continue;
                }

    for now i am just doing a manual install which seems to work fine.

    http://wordpress.org/extend/themes/suffusion/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic