[wp-trac] [WordPress Trac] #35026: Themes, Plugins, Core re-install broken WordPress 4.4

WordPress Trac noreply at wordpress.org
Fri Dec 11 22:15:38 UTC 2015


#35026: Themes, Plugins, Core re-install broken WordPress 4.4
--------------------------+-----------------------------
 Reporter:  S1L1K0N       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Gallery       |    Version:  4.4
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 FTP within WordPress 4.4 is not working. Was working perfectly on WP
 4.3.1.  Details below:

 OS: FreeBSD 10.2-RELEASE
 apache24-2.4.16_1
 php56-5.6.14 (and associated supporting libraries/modules, all 5.6.14)
 mysql55-client-5.5.44_1
 mysql55-server-5.5.44

 WordPress error upon attempted plugin installation:

 Installing Plugin: BuddyPress 2.4.2
 Downloading install package from
 https://downloads.wordpress.org/plugin/buddypress.2.4.2.zip…

 Unpacking the package…

 Installing the plugin…

 Could not create directory. /data/www/mmfa/wp-content/plugins/buddypress
 /bp-activity

 Plugin install failed.

 Return to Plugin Installer



 WordPress error upon attempted theme installation (theme below is an
 example):

 Installing Theme: TechNews 1.5.5
 Downloading install package from
 https://downloads.wordpress.org/theme/technews.1.5.5.zip…

 Unpacking the package…

 Installing the theme…

 Could not copy file. /data/www/mmfa/wp-content/themes/technews/404.php

 Theme install failed.


 WordPress error upon core re-installation attempt:

 Update WordPress
 Downloading update from
 https://downloads.wordpress.org/release/en_CA/wordpress-4.4.zip…

 Unpacking the update…

 The update cannot be installed because we will be unable to copy some
 files. This is usually due to inconsistent file permissions.: wp-
 admin/includes/update-core.php

 Installation Failed


 Whenever I try to install a theme, plugin or even re-install 4.4 from the
 Wordpress dashboard I get the 'Could not copy file.' error; this was
 working fine under WordPress 4.3.1; same supporting applications as above,
 filesystem permissions have not been modified from when they were working
 (they are 775).
 Apache24 keeps recording the following in my error log
 (/var/log/mmfa/error.log) everytime Wordpress tries to call it's FTP
 function:

 PHP Warning:  Illegal string offset 'name' in /data/www/mmfa/wp-
 admin/includes/class-ftp.php on line 730, referer: http://www.mmfa.lan/wp-
 admin/update.php?action=install-
 plugin&plugin=buddypress&_wpnonce=780b9abbc7

 PHP Warning:  Illegal string offset 'name' in /data/www/mmfa/wp-
 admin/includes/class-ftp.php on line 730, referer: http://www.mmfa.lan/wp-
 admin/update.php?action=install-theme&theme=technews&_wpnonce=c548125e78

 PHP Warning:  Illegal string offset 'name' in /data/www/mmfa/wp-
 admin/includes/class-ftp.php on line 730, referer: http://www.mmfa.lan/wp-
 admin/update-core.php?action=do-core-reinstall

 Looks like something is borked in ../wp-admin/includes/class-ftp.php after
 the 4.4 upgrade, but I'm not a PHP wizard so I can't say what.

 Earlier today I was trying to get support through the main wordpress
 support site, https://wordpress.org/support/topic/ftp-not-working-
 wordpress-44?replies=10#post-7769293

 Thanks.

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


More information about the wp-trac mailing list