[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 15:46:08 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          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 I've been running cron via system crontab for years. This is my first 5.1
 -> 5.2 update, so not sure when in the beta cycle this might've started.

 {{{
 Warning: Use of undefined constant RECOVERY_MODE_COOKIE - assumed
 'RECOVERY_MODE_COOKIE' (this will throw an Error in a future version of
 PHP) in /home/warmpress/wp-includes/class-wp-recovery-mode-cookie-
 service.php on line 66
 Warning: Use of undefined constant COOKIEPATH - assumed 'COOKIEPATH' (this
 will throw an Error in a future version of PHP) in /home/warmpress/wp-
 includes/class-wp-recovery-mode-cookie-service.php on line 68
 Warning: Use of undefined constant SITECOOKIEPATH - assumed
 'SITECOOKIEPATH' (this will throw an Error in a future version of PHP) in
 /home/warmpress/wp-includes/class-wp-recovery-mode-cookie-service.php on
 line 69
 }}}

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


More information about the wp-trac mailing list