• Resolved jamesstcrice

    (@jamesstcrice)


    I am using WP 5.3 and Visualizer 3.3.4
    In the process of upgrading to WordPress 5.3, I noticed the plugin causes a series of php warnings in my test environment. Can you confirm why the plugin is trying to use these functions? and what can be done about this?

    Warning: ftp_nlist() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 402
    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 226
    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 226
    Warning: ftp_nlist() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 402
    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 226
    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 226
    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 681
    Warning: ftp_nlist() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 402
    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 226
    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 226
    Warning: ftp_nlist() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 402
    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 226
    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 226
    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /srv/bindings/fb6ca84aeb454a9798239ddbe192bece/code/wp-admin/includes/class-wp-filesystem-ftpext.php on line 681
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor contactashish13

    (@rozroz)

    @hinjiriyo @jamesstcrice thank you for reporting this. We will check this at our end. In the meantime, since this are just warnings you can ignore them.

    @hinjiriyo if you say it happens only on specific instances, could you tell what’s different there so that we may get a clue to understand this?

    jjpmann

    (@jjpmann)

    We had this issue as well on a few sites visible on pantheon servers due to their default filesystem. Adding if ( ! defined( 'FS_METHOD' ) ) define( 'FS_METHOD', 'direct' ); fixed it for us. Looks like the plugin does not check if the wp_filesystem link is active before trying to use it which causes the errors.

    Plugin Contributor contactashish13

    (@rozroz)

    Closing this as this is not a bug in the plugin but something that was a result of the 5.3 WordPress update. More details can be found on https://core.trac.www.ads-software.com/ticket/48689

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ftp_nlist() warnings’ is closed to new replies.