[Bb-trac] [bbPress] #1034: Cron does not reschedule events

bbPress bb-trac at lists.bbpress.org
Thu Jan 22 21:29:46 GMT 2009


#1034: Cron does not reschedule events
--------------------------+-------------------------------------------------
 Reporter:  Nightgunner5  |       Owner:                  
     Type:  defect        |      Status:  new             
 Priority:  high          |   Milestone:                  
Component:  Back-end      |     Version:  1.0-beta (trunk)
 Severity:  major         |    Keywords:                  
--------------------------+-------------------------------------------------
 I was investigating why cron did not work for a bbPress-based non-forum
 program I'm writing - it uses bbPress for its forums, as well as for its
 functions - and I noticed that bb-cron.php has a reference to a class
 called BB_Cron which does not appear on the xref or anywhere in the code.

 I think changing `array('BB_Cron', 'reschedule_event')` to
 `'wp_reschedule_event'` will solve this.

 Error below:
 {{{
 Warning: call_user_func_array() [function.call-user-func-array]: First
 argument is expected to be a valid callback, 'BB_Cron::reschedule_event'
 was given in '''/*snip*/forums/bb-cron.php''' on line '''44'''
 }}}

-- 
Ticket URL: <http://trac.bbpress.org/ticket/1034>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list