[wp-trac] [WordPress Trac] #51474: Impossible to access staging site when WP Cron is disabled on PHP8

WordPress Trac noreply at wordpress.org
Wed Oct 7 20:09:02 UTC 2020


#51474: Impossible to access staging site when WP Cron is disabled on PHP8
--------------------------+-----------------------------
 Reporter:  gevcen        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.5.1
 Severity:  normal        |   Keywords:  needs-testing
  Focuses:                |
--------------------------+-----------------------------
 Dear,

 My live site is running fine on PHP 7.4, and I created a staging running
 on PHP8 but then it's impossible to access it because it's throwing
 instantly an error as below :

 {{{
 Warning: Constant DISABLE_WP_CRON already defined in
 /home/customer/www/DOMAIN/public_html/disable_wp_cron.php on line 2
 }}}

 Site specific error? or WordPress incompatibility with PHP8?

 Thanks

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


More information about the wp-trac mailing list