[wp-trac] [WordPress Trac] #44170: wp-cron.php missing file or directory /wp-personal-data-exports/

WordPress Trac noreply at wordpress.org
Mon May 21 08:23:04 UTC 2018


#44170: wp-cron.php missing file or directory /wp-personal-data-exports/
---------------------------+-----------------------------
 Reporter:  dingo_bastard  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Cron API       |    Version:  4.9.6
 Severity:  normal         |   Keywords:  dev-feedback
  Focuses:                 |
---------------------------+-----------------------------
 I updated the site where I have bugsnag, which will report any warnings
 and errors, and I got these errors

 {{{
 PHP Warning POST /wp-cron.php
 opendir(wp-content/uploads/wp-personal-data-exports/): failed to open dir:
 No such file or directory
 }}}

 The stack trace is

 {{{
 /wp-admin/includes/file.php:143 list_files
 /wp-includes/functions.php:6015 wp_privacy_delete_old_export_files
 /wp-includes/class-wp-hook.php:286 WP_Hook::apply_filters
 /wp-includes/class-wp-hook.php:310 WP_Hook::do_action
 /wp-includes/plugin.php:515 do_action_ref_array
 /wp-cron.php:126[main]
 }}}

 I also got this warning

 {{{
 PHP Warning POST /wp-cron.php
 closedir() expects parameter 1 to be resource, boolean given
 }}}

 With the following stack

 {{{
 /wp-admin/includes/file.php:168 list_files
 /wp-includes/functions.php:6015 wp_privacy_delete_old_export_files
 /wp-includes/class-wp-hook.php:286 WP_Hook::apply_filters
 /wp-includes/class-wp-hook.php:310 WP_Hook::do_action
 /wp-includes/plugin.php:515 do_action_ref_array
 /wp-cron.php:126[main]
 }}}

 It's related to the new privacy folder.

 I'm not sure if that folder is created on clean install, but it's not
 created on update. Maybe that is the issue.

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


More information about the wp-trac mailing list