• Resolved yosefy

    (@yosefy)


    when i open debug log, i see that:

    Warning: ftp_fput() expects parameter 1 to be resource, null given in /sites/public/wp-admin/includes/class-wp-filesystem-ftpext.php on line 212

    Warning: ftp_nlist() expects parameter 1 to be resource, null given in /sites/public/includes/class-wp-filesystem-ftpext.php on line 438

    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /sites/public/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230

    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /sites/public/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230

    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /sites/public/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230

    Warning: ftp_pwd() expects parameter 1 to be resource, null given in /sites/public/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230

    it stops only when i change owner of both ‘wp-adimin/includes’ and ‘wp-content’ dirs to php-fpm user

    it is a security problem.

    i would expect needed permissions only for maybe uploads dir and its own plugin dir

    thanks

Viewing 1 replies (of 1 total)
  • Hi @yosefy,

    Thanks for getting in touch with us.

    Can you please check by adding the below code in wp-config.php

    define( ‘FS_METHOD’, ‘direct’ );

    Please try and let me know how it goes.

    Have a nice day!

Viewing 1 replies (of 1 total)

The topic ‘wp-admin directory permissions’ is closed to new replies.