WordPress.org

Make WordPress Core

Opened 5 months ago

Closed 5 months ago

#46740 closed defect (bug) (duplicate)

PHP Warning closedir() expects parameter 1 to be resource, boolean given

Reported by: mikebronner Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.1
Component: Cron API Keywords:
Focuses: Cc:

Description

WP_CRON is triggering the following error:

PHP Warning closedir() expects parameter 1 to be resource, boolean given

[internal] closedir
/home/codepier/imaginethatcomics.com/20190330181718/public/wordpress/wp-admin/includes/file.php:168 list_files
/home/codepier/imaginethatcomics.com/20190330181718/public/wordpress/wp-includes/functions.php:6731 wp_privacy_delete_old_export_files
/home/codepier/imaginethatcomics.com/20190330181718/public/wordpress/wp-includes/class-wp-hook.php:286 WP_Hook::apply_filters
/home/codepier/imaginethatcomics.com/20190330181718/public/wordpress/wp-includes/class-wp-hook.php:310 WP_Hook::do_action
/home/codepier/imaginethatcomics.com/20190330181718/public/wordpress/wp-includes/plugin.php:531 do_action_ref_array
/home/codepier/imaginethatcomics.com/20190330181718/public/wordpress/wp-cron.php:133 [main]

Change History (1)

#1 @SergeyBiryukov
5 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @mikebronner, welcome to WordPress Trac! Thanks for the report.

This appears to be the same underlying issue as in #46741, which was recently fixed in #45136.

Note: See TracTickets for help on using tickets.