PHP errors about ftp_pwd and ftp_nlist in PHP 7.4
-
I am upgrading our site to PHP 7.4 and I’m seeing many PHP warnings of this shape on every page load:
PHP Warning: ftp_nlist() expects parameter 1 to be resource, null given in /srv/www/www/wp/wp-admin/includes/class-wp-filesystem-ftpext.php on line 421, PHP Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/www/www/wp/wp-admin/includes/class-wp-filesystem-ftpext.php on line 231,
If I disable the Visualizer plugin, then the above errors go away completely.
==> So Visualizer appears to be responsible for causing these PHP warnings. How can I make them stop while still using Visualizer?
== More info ==
The WordPress core files are (intentionally) not writable by Apache on our webserver.
Visualizer: 3.7.4
Server: Server Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.4.28
Wordpress: 5.9.1
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PHP errors about ftp_pwd and ftp_nlist in PHP 7.4’ is closed to new replies.