Skip to:

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#580 closed defect (fixed)

Cache should be initiated before plugins are loaded.

Reported by: so1o Owned by: so1o
Milestone: 0.8.1 Priority: high
Severity: normal Version: 0.8
Component: Back-end Keywords: has-patch


title says all :)

the plugins might want to do some stuff after loading.. but if cache is not initiated it gives a critical error and craps out!

Attachments (1)

ticket-580.patch (764 bytes) - added by so1o 11 years ago.
move cache before plugin load

Download all attachments as: .zip

Change History (6)

11 years ago

move cache before plugin load

#1 @so1o
11 years ago

  • Status changed from new to assigned

#2 @mdawaffe
11 years ago

If plugins need the cache object, they should probably wait until bb_init.

Can you:

function do_the_stuff_i_need() {

add_action( 'bb_init', 'do_the_stuff_i_need' );


#3 @mdawaffe
11 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [715]) move $bb_cache up a few lines. Fixes #580

#4 @so1o
11 years ago

we can. i was just thinking anybody using the bb_plugins_loaded hook will run into this.

#5 @mdawaffe
11 years ago

  • Milestone changed from 1.0 to 0.8.1
Note: See TracTickets for help on using tickets.