▶ Reproduction steps
#0 /app/lib/classes/class.ftp.php(39): G\errorsAsExceptions()
#1 /app/lib/classes/class.storage.php(599): CHV\Ftp->__construct()
#2 /app/lib/classes/class.storage.php(172): CHV\Storage::requireAPI()
#3 /app/lib/classes/class.image.php(882): CHV\Storage::uploadFiles()
#4 /app/routes/route.json.php(90): CHV\Image::uploadToWebsite()
#5 /lib/G/classes/class.handler.php(230): G\Handler->{closure}()
#6 /lib/G/classes/class.handler.php(130): G\Handler->processRequest()
#7app/web.php(410): G\Handler->__construct()
#8 app/loader.php(242): require_once('...')
#9 index.php(20): include_once('...')
#10 {main}
📃 Error log message
[Example: Attached is the server error log relevant to this issue]
- Use PHP 8
- Try to upload to external server
Undefined array key "host"
#0 /app/lib/classes/class.ftp.php(39): G\errorsAsExceptions()
#1 /app/lib/classes/class.storage.php(599): CHV\Ftp->__construct()
#2 /app/lib/classes/class.storage.php(172): CHV\Storage::requireAPI()
#3 /app/lib/classes/class.image.php(882): CHV\Storage::uploadFiles()
#4 /app/routes/route.json.php(90): CHV\Image::uploadToWebsite()
#5 /lib/G/classes/class.handler.php(230): G\Handler->{closure}()
#6 /lib/G/classes/class.handler.php(130): G\Handler->processRequest()
#7app/web.php(410): G\Handler->__construct()
#8 app/loader.php(242): require_once('...')
#9 index.php(20): include_once('...')
#10 {main}
📃 Error log message
[Example: Attached is the server error log relevant to this issue]