You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PHP 8.1, the ftp_connect function was changed to return an instance of FTP\Connection instead of the previous "resource" other versions returned. Within the FTP library though, it only checks for a resource. You can read more on that here: https://www.php.net/manual/en/function.ftp-connect
In PHP 8.1, the
ftp_connect
function was changed to return an instance ofFTP\Connection
instead of the previous "resource" other versions returned. Within the FTP library though, it only checks for a resource. You can read more on that here:https://www.php.net/manual/en/function.ftp-connect
And to verify the issue, here (in 6.x):
ExpressionEngine/system/ee/legacy/libraries/Ftp.php
Line 113 in e017f71
And here (in 7.x):
ExpressionEngine/system/ee/legacy/libraries/Ftp.php
Line 113 in 7b4428a
A simple conditional should suffice, I imagine.
The text was updated successfully, but these errors were encountered: