Title: PHP warning in sftp.php
Last modified: January 22, 2026

---

# PHP warning in sftp.php

 *  Resolved [mlude](https://wordpress.org/support/users/mlude/)
 * (@mlude)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/php-warning-in-sftp-php/)
 * Hello,
 * I noticed a PHP warning related to the plugin in the log file:
 * 2026/01/22 16:21:07 [error] 940#940: *1 FastCGI sent in stderr: “PHP message:
   PHP Warning: Undefined variable $class in /var/www/daasi.de/wp-content/plugins/
   ssh-sftp-updater-support/sftp.php on line 545; PHP message: PHP Warning: Undefined
   variable $class in /var/www/daasi.de/wp-content/plugins/ssh-sftp-updater-support/
   sftp.php on line 545; PHP message: PHP Warning: Undefined variable $class in /
   var/www/daasi.de/wp-content/plugins/ssh-sftp-updater-support/sftp.php on line
   545; PHP message: PHP Warning: Undefined variable $class in /var/www/daasi.de/
   wp-content/plugins/ssh-sftp-updater-support/sftp.php on line 545; PHP message:
   PHP Warning: Undefined variable $class in /var/www/daasi.de/wp-content/plugins/
   ssh-sftp-updater-support/sftp.php on line 545” while reading upstream, …
 * in line 543 there are tests for variable $class, which is undefined in that function
 * maybe the test should be for variable $classes?
 * Plugin version: 1.1.0, PHP 8.3, WordPress 6.9

Viewing 1 replies (of 1 total)

 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/php-warning-in-sftp-php/#post-18799251)
 * Hi,
 * Thank you for the report. This is fixed in today’s release of version 1.1.1.
 * David

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-in-sftp-php%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://s.w.org/plugins/geopattern-icon/ssh-sftp-updater-support.svg)
 * [SSH SFTP Updater Support](https://wordpress.org/plugins/ssh-sftp-updater-support/)
 * [Support Threads](https://wordpress.org/support/plugin/ssh-sftp-updater-support/)
 * [Active Topics](https://wordpress.org/support/plugin/ssh-sftp-updater-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ssh-sftp-updater-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ssh-sftp-updater-support/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * Last activity: [4 months, 1 week ago](https://wordpress.org/support/topic/php-warning-in-sftp-php/#post-18799251)
 * Status: resolved