[wp-trac] [WordPress Trac] #64404: Uncaught DivisionByZeroError: Modulo by zero

WordPress Trac noreply at wordpress.org
Mon Dec 15 11:34:31 UTC 2025


#64404: Uncaught DivisionByZeroError: Modulo by zero
----------------------------+--------------------------
 Reporter:  kaushiksomaiya  |       Owner:  westonruter
     Type:  defect (bug)    |      Status:  accepted
 Priority:  normal          |   Milestone:  7.0
Component:  Cron API        |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+--------------------------

Comment (by soyebsalar01):

 Tested PR 10619 after rebuilding from src.

 After using the custom cron schedule with an invalid interval (false) no
 longer causes a DevisionByZeroError. So the cron execute the event once
 and then fails to reschedule gracefully with invalid_schedule.

 Patch works as expected.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64404#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list