Opened 16 months ago
Last modified 5 months ago
#59917 new defect (bug)
On windows host using ftp, Undefined array key "islink"
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Filesystem API | Keywords: | needs-patch reporter-feedback |
Focuses: | administration | Cc: |
Description (last modified by )
Fresh install of wordpress 6.4.1
On windows host using ftp
steps to recreate:
- Going to "sitehealth" page gives critical warning ftp credentials are missing for updates.
- 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');
- 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
Change History (9)
#2
@
16 months ago
- Component changed from Site Health to Filesystem API
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 6.5
- Version 6.4 deleted
This ticket was mentioned in Slack in #core by oglekler. View the logs.
9 months ago
#5
@
9 months ago
- Focuses administration added
- Milestone changed from 6.6 to 6.7
This ticket was discussed during bug scrub and due to possible complications with the Filesystem API decided to move this to the next milestone.
This bug also needs to be reproduced to the point what causes the Fatal Error to occure.
Ad props to @costdev
This ticket was mentioned in Slack in #core by chaion07. View the logs.
6 months ago
#7
follow-up:
↓ 9
@
6 months ago
Thanks @antonmo for reporting this. We reviewed this Ticket during a recent bug-scrub session. Here's the summary of the feedback received:
- Can we please ask for more information, especially Windows OS version and FTP client?
Thank you.
Props to @khoipro
Cheers!
#8
in reply to:
↑ description
@
5 months ago
Hi @antonmo hope you're doing well, along with the above are you also able to provide the following:
- What version of PHP you were using
- Which guide you were following which told you to add those to your config
- Full stack trace of the errors if possible, please make sure no confidential details are shared here.
Thanks.
#9
in reply to:
↑ 7
@
5 months ago
- Keywords reporter-feedback added
- Milestone changed from 6.7 to Awaiting Review
- Can we please ask for more information, especially Windows OS version and FTP client?
I don't think this has to do with a specific FTP client. I think that this has to do with WordPress being configured to use FTP, which is the default behavior when your server is not configured to allow direct file writes.
@antonmo are you still experiencing this issue with the latest version of WordPress (currently 6.6.2)? If so, could you prove the additional details requested by @veryard?
I'm moving this back to Awaiting Review
until there's enough information to reliably reproduce and investigate.
Thanks for opening your first ticket @antonmo!
Moving to 6.5 for visibility. I've removed the version since this code is from a few different versions but is all quite old. While seen on the site health screen, this is related to the filesystem API so updating the component.