Notice (8): Undefined index: Question [APP/Controller/QuestionsController.php, line 27]Code Context $this->set('question', $question);
$allQuestions = $this->Question->find('count', array('conditions' => array('Question.event_id' => $question['Question']['event_id']), 'fields' => array('id')));
$id = 'favicon.ico'
$question = array()
QuestionsController::view() - APP/Controller/QuestionsController.php, line 27
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Notice (8): Undefined index: Question [APP/Controller/QuestionsController.php, line 28]Code Context
$allQuestions = $this->Question->find('count', array('conditions' => array('Question.event_id' => $question['Question']['event_id']), 'fields' => array('id')));
$nextQuestions = $this->Question->find('count', array('conditions' => array('Question.event_id' => $question['Question']['event_id'], 'Question.id >' => $id), 'fields' => array('id')));
$id = 'favicon.ico'
$question = array()
$allQuestions = (int) 0
QuestionsController::view() - APP/Controller/QuestionsController.php, line 28
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Notice (8): Undefined index: Question [APP/View/Questions/view.ctp, line 19]Code Context <h1 class="fw100">
<?php
echo $question['Question']['title'];
$viewFile = '/home/autodiag/www/app/View/Questions/view.ctp'
$dataForView = array(
'questionNumber' => (int) 0,
'question' => array()
)
$questionNumber = (int) 0
$question = array()
$url = '/img/background/00.jpg'
include - APP/View/Questions/view.ctp, line 19
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Notice (8): Undefined index: Answer [APP/View/Questions/view.ctp, line 25]Code Context <div class="col-12">
<ul class="list-unstyled list-inline mt20 mbn">
<?php foreach ($question['Answer'] as $k => $answer) { ?>
$viewFile = '/home/autodiag/www/app/View/Questions/view.ctp'
$dataForView = array(
'questionNumber' => (int) 0,
'question' => array()
)
$questionNumber = (int) 0
$question = array()
$url = '/img/background/00.jpg'
include - APP/View/Questions/view.ctp, line 25
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Warning (2): Invalid argument supplied for foreach() [APP/View/Questions/view.ctp, line 25]Code Context <div class="col-12">
<ul class="list-unstyled list-inline mt20 mbn">
<?php foreach ($question['Answer'] as $k => $answer) { ?>
$viewFile = '/home/autodiag/www/app/View/Questions/view.ctp'
$dataForView = array(
'questionNumber' => (int) 0,
'question' => array()
)
$questionNumber = (int) 0
$question = array()
$url = '/img/background/00.jpg'
include - APP/View/Questions/view.ctp, line 25
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117