Problem
The following message appears at different times, e.g. when saving:
.../wp-admin/includes/class-wp-filesystem-ftpext.php:438: ftp_nlist: Argument #1 (Sftp) must be of type FTP\Connection, null given
Cause
The server configuration is incorrect, which means that the PHP process is unable to create files. For this reason, WordPress attempts to create the file required for Borlabs Cookie via FTP.
You can find more information about the WordPress file system API here: https://codex.wordpress.org/Filesystem_API
Solution
Solution A
Please contact your server administrator to adjust the permissions so that the PHP process can create files.
Solution B
Add the necessary FTP access data to your WordPress configuration file wp-config.php
. See also https://developer.wordpress.org/apis/wp-config-php/