[wp-trac] [WordPress Trac] #45136: wp-personal-data-export cron error if folder not exists - create folder
WordPress Trac
noreply at wordpress.org
Mon Nov 26 21:12:49 UTC 2018
#45136: wp-personal-data-export cron error if folder not exists - create folder
-------------------------------+------------------------------
Reporter: DuckDagobert | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Privacy | Version: 4.9.6
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by desrosj):
* keywords: needs-patch => reporter-feedback
* focuses: privacy =>
* severity: major => normal
* version: 4.9.8 => 4.9.6
Comment:
Thanks for the ticket, @DuckDagobert!
Can you share any more information about your environment? I am currently
unable to replicate this issue.
Both `opendir()` and `closedir()` are prefixed by `@` on the lines in
question, which should suppress the `E_WARNING` level error triggered if
the directory does not exist.
It's possible you have a custom error handler defined using
`set_error_handler()` that is ignoring the `@`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45136#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list