[wp-trac] [WordPress Trac] #46882: 5.2 beta 2: `wp cron even run --due-now` triggers "Use of undefined constant {RECOVERY_MODE_COOKIE, COOKIEPATH, SITECOOKIEPATH}"
WordPress Trac
noreply at wordpress.org
Thu Apr 11 16:52:12 UTC 2019
#46882: 5.2 beta 2: `wp cron even run --due-now` triggers "Use of undefined
constant {RECOVERY_MODE_COOKIE,COOKIEPATH,SITECOOKIEPATH}"
----------------------------+------------------------------
Reporter: lkraav | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: trunk
Severity: normal | Resolution:
Keywords: servehappy | Focuses:
----------------------------+------------------------------
Comment (by TimothyBlynJacobs):
Do you get anything different if you run the command directly, not through
an alias?
Could you try adding a backtrace call inside `wp_recovery_mode()` right
before the new instance is created? I think this might happen if an error
is passed to the wp fatal error handler before cookie constants are
defined.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46882#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list