wa0x6e / ResqueBoard

ResqueBoard is an analytics software for PHP Resque. Monitor your workers health and job activities in realtime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pending jobs crashes ResqueBoard

ckmaresca opened this issue · comments

After fixing the .js issues, I'm now getting a fatal error when trying to access /jobs/pending

The jobs dashboard shows 1 pending job, but trying to view it generates the following error:

( ! ) Fatal error: Cannot access self:: when no class scope is active in /Users/ckm/Sites/idb/queues/src/ResqueBoard/Lib/ResqueStat.php on line 542
Call Stack
#   Time    Memory  Function    Location
1   0.0016  1143400 {main}( )   ../index.php:0
2   0.0208  2578064 Slim\Slim->run( )   ../index.php:966
3   0.0211  2579088 Slim\Middleware\MethodOverride->call( ) ../Slim.php:1254
4   0.0237  2682992 Slim\Middleware\Flash->call( )  ../MethodOverride.php:92
5   0.0239  2683208 Slim\Slim->call( )  ../Flash.php:85
6   0.0311  3019136 Slim\Route->dispatch( ) ../Slim.php:1307
7   0.0311  3019528 call_user_func_array ( )    ../Route.php:436
8   0.0311  3019584 {closure:/Users/ckm/Sites/idb/queues/src/ResqueBoard/webroot/index.php:295-336}( )  ../Route.php:436
9   0.0368  3704752 ResqueBoard\Lib\ResqueStat->getJobs( )  ../index.php:326
10  0.0368  3710632 ResqueBoard\Lib\ResqueStat->getPendingJobs( )   ../ResqueStat.php:345
11  0.0383  3723376 array_walk ( )  ../ResqueStat.php:544
12  0.0383  3723544 ResqueBoard\Lib\{closure}( )    ../ResqueStat.php:544