[wp-trac] [WordPress Trac] #36570: PHP Warning mkdir(): File exists only when I update the translations

WordPress Trac noreply at wordpress.org
Mon Apr 18 08:15:21 UTC 2016


#36570: PHP Warning mkdir(): File exists only when I update the translations
--------------------------+-----------------------------
 Reporter:  overclokk     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.5
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi,
 I got this error only when I update the translation in update-core.php.

 I'm on VVV
 WP 4.5
 PHP 5.5.9-1ubuntu4.14

 The error is displayed in [Query Monitor
 plugin](https://it.wordpress.org/plugins/query-monitor/) interface with
 the following errors:

 {{{
 Warning mkdir(): File exists
 wp-admin/includes/class-wp-filesystem-direct.php:434
 }}}
 '''Call Stack'''
 {{{
 mkdir()
   wp-admin/includes/class-wp-filesystem-direct.php:434
 WP_Filesystem_Direct->mkdir()
   wp-admin/includes/file.php:676
 _unzip_file_ziparchive()
   wp-admin/includes/file.php:593
 unzip_file()
   wp-admin/includes/class-wp-upgrader.php:291
 WP_Upgrader->unpack_package()
   wp-admin/includes/class-wp-upgrader.php:686
 WP_Upgrader->run()
   wp-admin/includes/class-wp-upgrader.php:2115
 Language_Pack_Upgrader->bulk_upgrade()
   wp-admin/update-core.php:721
 }}}

 However the translations seem to be ok and updated.

 How can I debug this error and help you to find a solution?

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


More information about the wp-trac mailing list