[wp-trac] [WordPress Trac] #33478: Still getting the 'Unable to locate WordPress Plugin directory' error

WordPress Trac noreply at wordpress.org
Fri Aug 21 00:19:50 UTC 2015


#33478: Still getting the 'Unable to locate WordPress Plugin directory' error
----------------------------+-----------------------------
 Reporter:  fblz            |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Filesystem API  |    Version:  4.3
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 This is a follow-up to #32345.

 I just upgraded to Wordpress 4.3 As the chrooted ssh bug was marked as
 resolved I disabled SSH SFTP Updater Support plugin and tried. I am still
 getting the same error message in wordpress when trying to remove a
 plugin.
 {{{
 Unable to locate WordPress Plugin directory
 }}}

 In the apache error log I found the following error. But its not generated
 everytime.

 {{{
 ssh2_sftp_realpath() expects parameter 1 to be resource, boolean given in
 /var/www/test/wp-admin/includes/class-wp-filesystem-ssh2.php on line 196,
 referer: https://test.fblz.de/wp-admin/plugins.php?action=delete-
 selected&checked%5B0%5D=ssh-sftp-updater-
 support%2Fsftp.php&plugin_status=all&paged=1&s&_wpnonce=152648e489
 }}}

 In #32345 there is a conversation mentioned, which lead to the closing. I
 can't find such a conversation.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33478>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list