[wp-trac] [WordPress Trac] #59917: On windows host using ftp, Undefined array key "islink"
WordPress Trac
noreply at wordpress.org
Thu Nov 16 19:00:34 UTC 2023
#59917: On windows host using ftp, Undefined array key "islink"
--------------------------+------------------------------
Reporter: antonmo | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version: 6.4
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Description changed by sabernhardt:
Old description:
> Fresh install of wordpress 6.4.1
> On windows host using ftp
>
> steps to recreate:
> 1. Going to "sitehealth" page gives critical warning ftp credentials are
> missing for updates.
>
> 2. Google search suggested adding the following to the user added section
> of wp-config.php
>
> define('FTP_USER', 'USERNAME');
> define('FTP_PASS', 'PASSWORD');
> define('FTP_HOST', 'FTP.EXAMPLE.COM');
>
> 3. After this, go back to site health page. It is giving the follwing
> warnings repeatedly:
>
> Warning: Undefined array key 3 in <b>C:\inetpub\wwwroot\xxx\wp-
> admin\includes\class-ftp.php on line 457
>
> Warning: Undefined array key "islink" in C:\inetpub\wwwroot\xxx\wp-
> admin\includes\class-wp-filesystem-ftpsockets.php on line 695
>
> Warning: Undefined array key "perms" in C:\inetpub\wwwroot\xxx\wp-
> admin\includes\class-wp-filesystem-ftpsockets.php on line 700
>
> Warning: Undefined array key "islink" in C:\inetpub\wwwroot\xxx\wp-
> admin\includes\class-wp-filesystem-ftpsockets.php on line 695
New description:
Fresh install of wordpress 6.4.1
On windows host using ftp
steps to recreate:
1. Going to "sitehealth" page gives critical warning ftp credentials are
missing for updates.
2. Google search suggested adding the following to the user added section
of `wp-config.php`
{{{
define('FTP_USER', 'USERNAME');
define('FTP_PASS', 'PASSWORD');
define('FTP_HOST', 'FTP.EXAMPLE.COM');
}}}
3. After this, go back to site health page. It is giving the following
warnings repeatedly:
{{{
Warning: Undefined array key 3 in C:\...\wp-admin\includes\class-ftp.php
on line 457
Warning: Undefined array key "islink" in C:\...\wp-admin\includes\class-
wp-filesystem-ftpsockets.php on line 695
Warning: Undefined array key "perms" in C:\...\wp-admin\includes\class-wp-
filesystem-ftpsockets.php on line 700
Warning: Undefined array key "islink" in C:\...\wp-admin\includes\class-
wp-filesystem-ftpsockets.php on line 695
}}}
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59917#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list