[wp-trac] [WordPress Trac] #48689: PHP warnings after updating to WP 5.3: ftp_nlist() and ftp_pwd() expect missing parameters

WordPress Trac noreply at wordpress.org
Thu Feb 27 14:53:07 UTC 2020


#48689: PHP warnings after updating to WP 5.3: ftp_nlist() and ftp_pwd() expect
missing parameters
----------------------------+------------------------------
 Reporter:  Hinjiriyo       |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Filesystem API  |     Version:  5.3
 Severity:  minor           |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+------------------------------

Comment (by BearlyDoug):

 I also was receiving this... I thought it was tied to the WP Astra theme
 (https://wpastra.com/), since I'm not getting it on sites not running the
 WP Astra Theme and WP Astra Pro plugin.

 The first result I found for this is located
 [https://wordpress.org/support/topic/ftp_nlist-warnings/ HERE]

 I added
 {{{
 if (!defined('FS_METHOD')) define('FS_METHOD', 'direct');
 }}}
 to my wp-config.php file, and now the error messages actually have
 stopped.

 This issue didn't show up until WordPress 5.3 was released, and is KILLING
 my Apache log files.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48689#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list