Warning (2): Missing argument 1 for LessonsController::display(), called in /var/chipotle/sites/karamelo/cake/libs/object.php on line 115 and defined [APP/controllers/lessons_controller.php, line 93]
Code }
public function display($username)
LessonsController::display() - APP/controllers/lessons_controller.php, line 93
Object::dispatchMethod() - CORE/cake/libs/object.php, line 115
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 90
Notice (8): Undefined variable: username [APP/controllers/lessons_controller.php, line 95]
Code public function display($username)
{
$user_id = (int) $this->Lesson->User->field('id', array('User.username'=>$username));
LessonsController::display() - APP/controllers/lessons_controller.php, line 95
Object::dispatchMethod() - CORE/cake/libs/object.php, line 115
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 90
Notice (8): Undefined variable: username [APP/controllers/lessons_controller.php, line 96]
Code |
Context$user_id = 0
{
$user_id = (int) $this->Lesson->User->field('id', array('User.username'=>$username));
$this->pageTitle = $username . ' '.__('Lessons', true);
LessonsController::display() - APP/controllers/lessons_controller.php, line 96
Object::dispatchMethod() - CORE/cake/libs/object.php, line 115
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 245
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
[main] - APP/webroot/index.php, line 90
Lecciones
This teacher has not yet published lessons