Notice (8): Undefined index: [APP/Template/Element/activity.ctp, line 201]Code Context<div class="alert alert-warning alert-dismissible text-center <?=$preferred_dialect==$dialect_id?'d-none':''?>" id="dialectChanged">
<span class="fa fa-exclamation-circle mr-2"></span> <?= __('Uh-oh! We don\'t have this lesson in the <em>{0}</em> dialect. It has been replaced with the <strong>{1}</strong> dialect.',$dialects[$preferred_dialect],$dialects[$dialect_id])?>
</div>
$viewFile = '/mnt/data/www/virtual/lessons.innu.atlas-ling.ca/webroot/htdocs/src/Template/Element/activity.ctp'
$dataForView = [
'activity' => object(App\Model\Entity\ActivitiesLesson) {
'id' => (int) 460,
'activity_id' => (int) 102,
'lesson_id' => (int) 66,
'sort' => (float) 5,
'activity' => object(App\Model\Entity\Activity) {},
'lesson' => object(App\Model\Entity\Lesson) {},
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'ActivitiesLessons'
},
'_serialize' => [
(int) 0 => 'activity',
(int) 1 => 'dialects',
(int) 2 => 'previousLessons',
(int) 3 => 'parameters',
(int) 4 => 'lexicons',
(int) 5 => 'syllables',
(int) 6 => 'texts',
(int) 7 => 'dialect_id',
(int) 8 => 'lesson_media_id',
(int) 9 => 'preferred_dialect'
],
'dialects' => [
(int) 1 => 'Central',
(int) 2 => 'Eastern',
(int) 3 => 'Western',
(int) 4 => 'Sheshatshiu',
(int) 5 => 'Mushuau'
],
'previousLessons' => [],
'parameters' => [
'instructions_fr' => '<p><strong>Tapez les mots manquants dans les phrases que vous entendez (tapez w pour le u exposant).</strong></p>
<p>Cliquez sur la flèche pour commencer.</p>
<p>Attendez d'entendre la phrase.</p>
<p>Pour réécouter la phrase, cliquez sur le bouton "lecture" à gauche.</p>
<p>Quand vous avez fini de taper les mots, validez votre réponse.</p>
<p>Cliquez sur la flèche pour continuer.</p>',
'instructions_en' => '<p><strong>Write the missing words in the sentences that you hear (type w for the raised u).</strong></p>
<p>Click on the arrow to begin.</p>
<p>Wait to hear the sentence.</p>
<p>To replay the sentence, click the left-hand "play" button.</p>
<p>When you have finished typing the words, confirm your answer.</p>
<p>Click on the arrow to continue.</p>',
'repeat' => '2',
'points' => '5',
'penalty' => (int) 5
],
'lexicons' => [],
'syllables' => [],
'texts' => [
(int) 0 => object(App\Model\Entity\StoryLine) {},
(int) 1 => object(App\Model\Entity\StoryLine) {},
(int) 2 => object(App\Model\Entity\StoryLine) {},
(int) 3 => object(App\Model\Entity\StoryLine) {},
(int) 4 => object(App\Model\Entity\StoryLine) {},
(int) 5 => object(App\Model\Entity\StoryLine) {},
(int) 6 => object(App\Model\Entity\StoryLine) {},
(int) 7 => object(App\Model\Entity\StoryLine) {},
(int) 8 => object(App\Model\Entity\StoryLine) {}
],
'dialect_id' => (int) 2,
'preferred_dialect' => null,
'lang' => 'en'
]
$activity = object(App\Model\Entity\ActivitiesLesson) {
'id' => (int) 460,
'activity_id' => (int) 102,
'lesson_id' => (int) 66,
'sort' => (float) 5,
'activity' => object(App\Model\Entity\Activity) {},
'lesson' => object(App\Model\Entity\Lesson) {},
'[new]' => false,
'[accessible]' => [
'activity_id' => true,
'lesson_id' => true,
'sort' => true,
'activity' => true,
'lesson' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'ActivitiesLessons'
}
$_serialize = [
(int) 0 => 'activity',
(int) 1 => 'dialects',
(int) 2 => 'previousLessons',
(int) 3 => 'parameters',
(int) 4 => 'lexicons',
(int) 5 => 'syllables',
(int) 6 => 'texts',
(int) 7 => 'dialect_id',
(int) 8 => 'lesson_media_id',
(int) 9 => 'preferred_dialect'
]
$dialects = [
(int) 1 => 'Central',
(int) 2 => 'Eastern',
(int) 3 => 'Western',
(int) 4 => 'Sheshatshiu',
(int) 5 => 'Mushuau'
]
$previousLessons = []
$parameters = [
'instructions_fr' => '<p><strong>Tapez les mots manquants dans les phrases que vous entendez (tapez w pour le u exposant).</strong></p>
<p>Cliquez sur la flèche pour commencer.</p>
<p>Attendez d'entendre la phrase.</p>
<p>Pour réécouter la phrase, cliquez sur le bouton "lecture" à gauche.</p>
<p>Quand vous avez fini de taper les mots, validez votre réponse.</p>
<p>Cliquez sur la flèche pour continuer.</p>',
'instructions_en' => '<p><strong>Write the missing words in the sentences that you hear (type w for the raised u).</strong></p>
<p>Click on the arrow to begin.</p>
<p>Wait to hear the sentence.</p>
<p>To replay the sentence, click the left-hand "play" button.</p>
<p>When you have finished typing the words, confirm your answer.</p>
<p>Click on the arrow to continue.</p>',
'repeat' => '2',
'points' => '5',
'penalty' => (int) 5
]
$lexicons = []
$syllables = []
$texts = [
(int) 0 => object(App\Model\Entity\StoryLine) {
'id' => (int) 277,
'story_id' => (int) 20,
'dialect_id' => null,
'content' => 'Kuei nuitsheuakan.',
'align' => null,
'translation_en' => 'Hello my friend.',
'translation_fr' => 'Bonjour mon ami-e.',
'is_public' => true,
'media' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'StoryLines'
},
(int) 1 => object(App\Model\Entity\StoryLine) {
'id' => (int) 278,
'story_id' => (int) 20,
'dialect_id' => null,
'content' => 'Tshekuan etutamin?',
'align' => null,
'translation_en' => 'What are you doing?',
'translation_fr' => 'Qu'est-ce que tu fais?',
'is_public' => true,
'media' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'StoryLines'
},
(int) 2 => object(App\Model\Entity\StoryLine) {
'id' => (int) 279,
'story_id' => (int) 20,
'dialect_id' => null,
'content' => 'Nitshishkutamakaun.',
'align' => 'right',
'translation_en' => 'I'm in class, I'm being taught.',
'translation_fr' => 'Je suis à mon cours, on m'enseigne.',
'is_public' => true,
'media' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'StoryLines'
},
(int) 3 => object(App\Model\Entity\StoryLine) {
'id' => (int) 280,
'story_id' => (int) 20,
'dialect_id' => null,
'content' => 'Tshekuan tsheshkutamakuin?',
'align' => null,
'translation_en' => 'What class do you have?',
'translation_fr' => 'Qu'as-tu comme cours?',
'is_public' => true,
'media' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'StoryLines'
},
(int) 4 => object(App\Model\Entity\StoryLine) {
'id' => (int) 281,
'story_id' => (int) 20,
'dialect_id' => null,
'content' => 'Innu-aimun nitshishkutamakaun.',
'align' => 'right',
'translation_en' => 'I have an Innu language class.',
'translation_fr' => 'J'ai un cours de langue innue.',
'is_public' => true,
'media' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'StoryLines'
},
(int) 5 => object(App\Model\Entity\StoryLine) {
'id' => (int) 282,
'story_id' => (int) 20,
'dialect_id' => null,
'content' => 'Ekᵘ tshin?',
'align' => 'right',
'translation_en' => 'And you?',
'translation_fr' => 'Et toi?',
'is_public' => true,
'media' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'StoryLines'
},
(int) 6 => object(App\Model\Entity\StoryLine) {
'id' => (int) 283,
'story_id' => (int) 20,
'dialect_id' => null,
'content' => 'Ninatshi-atussen.',
'align' => null,
'translation_en' => 'I'm going to work.',
'translation_fr' => 'Je vais travailler.',
'is_public' => true,
'media' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'StoryLines'
},
(int) 7 => object(App\Model\Entity\StoryLine) {
'id' => (int) 284,
'story_id' => (int) 20,
'dialect_id' => null,
'content' => 'Tan tatutipaikana?',
'align' => 'right',
'translation_en' => 'At what time?',
'translation_fr' => 'À quelle heure?',
'is_public' => true,
'media' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'StoryLines'
},
(int) 8 => object(App\Model\Entity\StoryLine) {
'id' => (int) 285,
'story_id' => (int) 20,
'dialect_id' => null,
'content' => 'Peikunnuetipaikana takuaki.',
'align' => null,
'translation_en' => 'At ten o'clock.',
'translation_fr' => 'Quand il sera dix heures.',
'is_public' => true,
'media' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'StoryLines'
}
]
$dialect_id = (int) 2
$preferred_dialect = null
$lang = 'en'
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
$soundDialect = 'C'
$preURL = '/'
$dialectFound = [
(int) 0 => (int) 2
]
$media = object(App\Model\Entity\Media) {
'id' => (int) 3434,
'url' => '/files/sounds/est/Dialogue6_niveau1_Est_AMYM_14.mp3',
'locale' => null,
'dialect_id' => (int) 2,
'filename' => 'Dialogue6_niveau1_Est_AMYM_14.mp3',
'mime' => 'audio/mp3',
'source' => null,
'public_note_en' => null,
'public_note_fr' => null,
'is_public' => true,
'_joinData' => object(App\Model\Entity\MediaStoryLine) {},
'dialect' => object(App\Model\Entity\Dialect) {},
'MediaStoryLines' => [
'story_line_id' => (int) 285,
'media_id' => (int) 3434
],
'[new]' => false,
'[accessible]' => [
'uuid' => true,
'mime' => true,
'locale' => true,
'url' => true,
'path' => true,
'filename' => true,
'meta' => true,
'public_note_en' => true,
'public_note_fr' => true,
'source' => true,
'user_id' => true,
'dialect_id' => true,
'created_at' => true,
'updated_at' => true,
'is_public' => true,
'log' => true,
'user' => true,
'dialect' => true,
'activities' => true,
'lexicons' => true,
'syllables' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Media'
}
$story_line = object(App\Model\Entity\StoryLine) {
'id' => (int) 285,
'story_id' => (int) 20,
'dialect_id' => null,
'content' => 'Peikunnuetipaikana takuaki.',
'align' => null,
'translation_en' => 'At ten o'clock.',
'translation_fr' => 'Quand il sera dix heures.',
'is_public' => true,
'media' => [
(int) 0 => object(App\Model\Entity\Media) {}
],
'[new]' => false,
'[accessible]' => [
'story_id' => true,
'content' => true,
'translation_en' => true,
'translation_fr' => true,
'admin_note' => true,
'sort' => true,
'user_id' => true,
'is_public' => true,
'dialect_id' => true,
'meta' => true,
'created_at' => true,
'updated_at' => true,
'log' => true,
'story' => true,
'user' => true,
'dialect' => true,
'activities' => true,
'media' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'StoryLines'
}
$d_id = (int) 2
$dialect = 'Eastern'
$lesson_activity = object(App\Model\Entity\Activity) {
'id' => (int) 89,
'title_en' => 'Sentence dictation',
'title_fr' => 'Dictée de phrases',
'description_en' => 'Write (in Innu) the sentences that you hear',
'description_fr' => 'Écrivez (en innu) les phrases que vous entendez',
'is_public' => true,
'_joinData' => object(App\Model\Entity\ActivitiesLesson) {},
'ActivitiesLessons' => [
'activity_id' => (int) 89,
'lesson_id' => (int) 66
],
'[new]' => false,
'[accessible]' => [
'activity_type_id' => true,
'activity_configuration_id' => true,
'title_en' => true,
'title_fr' => true,
'description_en' => true,
'description_fr' => true,
'admin_note' => true,
'user_id' => true,
'is_public' => true,
'meta' => true,
'created_at' => true,
'updated_at' => true,
'log' => true,
'activity_type' => true,
'activity_configuration' => true,
'user' => true,
'activity_parameters' => true,
'lessons' => true,
'media' => true,
'story_lines' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Activities'
}
$activity_lesson_id = (int) 427
$user_score = null
$top_score = null
include - APP/Template/Element/activity.ctp, line 201
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240
Cake\View\View::_render() - CORE/src/View/View.php, line 1201
Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1598
Cake\View\View::element() - CORE/src/View/View.php, line 706
include - APP/Template/Lessons/missing_words_dictation.ctp, line 56
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240
Cake\View\View::_render() - CORE/src/View/View.php, line 1201
Cake\View\View::render() - CORE/src/View/View.php, line 803
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790
App\Controller\LessonsController::activity() - APP/Controller/LessonsController.php, line 382
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\I18n\Middleware\LocaleSelectorMiddleware::__invoke() - CORE/src/I18n/Middleware/LocaleSelectorMiddleware.php, line 65
Uh-oh! We don't have this lesson in the
dialect. It has been replaced with the
Eastern dialect.