Warning (2): Missing argument 2 for LeagueTablesController::table(), called in /var/www/vhosts/beta2.globalscore.com/httpdocs/cake/libs/object.php on line 117 and defined [APP/controllers/league_tables_controller.php, line 5]
Code |
Context$league_id = "923"
class LeagueTablesController extends AppController {
function table($league_id, $season_id, $filter=false) {
LeagueTablesController::table() - APP/controllers/league_tables_controller.php, line 5
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
Object::requestAction() - CORE/cake/libs/object.php, line 100
include - APP/views/leagues/info.ctp, line 22
View::_render() - CORE/cake/libs/view/view.php, line 662
View::render() - CORE/cake/libs/view/view.php, line 376
Controller::render() - CORE/cake/libs/controller/controller.php, line 799
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 230
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 37
Notice (8): Undefined variable: season_id [APP/controllers/league_tables_controller.php, line 7]
Code |
Context$league_id = "923"
$filter = false
function table($league_id, $season_id, $filter=false) {
$this->autoLayout = false;
$data = $this->LeagueTable->findLeagueTable($league_id, $season_id, $filter);
LeagueTablesController::table() - APP/controllers/league_tables_controller.php, line 7
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
Object::requestAction() - CORE/cake/libs/object.php, line 100
include - APP/views/leagues/info.ctp, line 22
View::_render() - CORE/cake/libs/view/view.php, line 662
View::render() - CORE/cake/libs/view/view.php, line 376
Controller::render() - CORE/cake/libs/controller/controller.php, line 799
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 230
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 37