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
You must be logged in to reply to this topic.