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) 2382,
'activity_id' => (int) 73,
'lesson_id' => (int) 340,
'sort' => (float) 3,
'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 => 'Centre',
(int) 2 => 'Est',
(int) 3 => 'Ouest',
(int) 4 => 'Sheshatshiu',
(int) 5 => 'Mushuau'
],
'previousLessons' => [],
'parameters' => [
'time' => '20',
'oral_instructions' => 'MatchingWordsImages',
'instructions_en' => '',
'instructions_fr' => '',
'MatchingField' => 'definition',
'max_points' => (int) 60,
'points' => (int) 5,
'penalty' => (float) 2.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) {},
(int) 9 => object(App\Model\Entity\StoryLine) {},
(int) 10 => object(App\Model\Entity\StoryLine) {},
(int) 11 => object(App\Model\Entity\StoryLine) {}
],
'dialect_id' => (int) 2,
'preferred_dialect' => null,
'lang' => 'fr'
]
$activity = object(App\Model\Entity\ActivitiesLesson) {
'id' => (int) 2382,
'activity_id' => (int) 73,
'lesson_id' => (int) 340,
'sort' => (float) 3,
'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 => 'Centre',
(int) 2 => 'Est',
(int) 3 => 'Ouest',
(int) 4 => 'Sheshatshiu',
(int) 5 => 'Mushuau'
]
$previousLessons = []
$parameters = [
'time' => '20',
'oral_instructions' => 'MatchingWordsImages',
'instructions_en' => '',
'instructions_fr' => '',
'MatchingField' => 'definition',
'max_points' => (int) 60,
'points' => (int) 5,
'penalty' => (float) 2.5
]
$lexicons = []
$syllables = []
$texts = [
(int) 0 => object(App\Model\Entity\StoryLine) {
'id' => (int) 941,
'story_id' => (int) 98,
'dialect_id' => null,
'content' => 'Tshitishpishin a tshetshi natutuin, tshui aimitin?',
'align' => null,
'translation_en' => 'Do you have time to listen to me, I would like to talk to you?',
'translation_fr' => 'As-tu le temps de m'écouter, je voudrais te parler?',
'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) 942,
'story_id' => (int) 98,
'dialect_id' => null,
'content' => 'Uemut uin, nitishpishin tshetshi natutatan.',
'align' => 'right',
'translation_en' => 'Of course I have time to listen to you.',
'translation_fr' => 'Bien sûr que j'ai le temps de t'écouter.',
'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) 943,
'story_id' => (int) 98,
'dialect_id' => null,
'content' => 'Eshe, apu shukᵘ minupanian, apu tshissenitaman tshekuan etian. Nanitam nui man.',
'align' => null,
'translation_en' => 'Yes, I'm not doing very well, I don't know what's going on with me. I often feel like crying.',
'translation_fr' => 'Oui, je ne vais pas très bien, je ne sais pas ce qui m'arrive. J'ai souvent envie de pleurer.',
'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) 944,
'story_id' => (int) 98,
'dialect_id' => null,
'content' => 'Tshiminukuamun a? Tshitaieshkushinatshe put an.',
'align' => 'right',
'translation_en' => 'Are you sleeping well? Maybe you're tired.',
'translation_fr' => 'Est-ce que tu dors bien? Peut-être que tu es fatigué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) 4 => object(App\Model\Entity\StoryLine) {
'id' => (int) 945,
'story_id' => (int) 98,
'dialect_id' => null,
'content' => 'Tshipa tshi put. Apu mishta-minukuamuian. Nanikutini, nipekupan tepishkati ekue eka tshi nipaian. Ekue aieshkushian kiashikati.',
'align' => null,
'translation_en' => 'Maybe that's it. I don't sleep well. Often I wake up at night and can't go back to sleep. And then I'm tired during the day.',
'translation_fr' => 'C'est peut-être ça. Je ne dors pas bien. Souvent, je me réveille la nuit et je ne peux pas me rendormir. Et puis, je suis fatiguée pendant la journé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) 5 => object(App\Model\Entity\StoryLine) {
'id' => (int) 946,
'story_id' => (int) 98,
'dialect_id' => null,
'content' => 'Ekᵘ ma, tshimishta-min a kapi kiashikati? Eukuan etian meshta-miniani kapi nin, apu minukuamuian.',
'align' => 'right',
'translation_en' => 'Also, do you drink a lot of coffee during the day? That's what happens to me when I drink too much coffee, I don't sleep well.',
'translation_fr' => 'Et puis, est-ce que tu bois beaucoup de café pendant la journée? C'est ce qui m'arrive quand je bois trop de café, je ne dors pas bien.',
'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) 947,
'story_id' => (int) 98,
'dialect_id' => null,
'content' => 'Eshe tapue, nimishta-min kapi, nasht peikunnu tatunakan ishkanitshishikua.',
'align' => null,
'translation_en' => 'Yes it's true, I drink a lot of coffee, at least ten cups throughout the day.',
'translation_fr' => 'Oui c'est vrai, je bois beaucoup de café, au moins dix tasses durant toute la journé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) 7 => object(App\Model\Entity\StoryLine) {
'id' => (int) 948,
'story_id' => (int) 98,
'dialect_id' => null,
'content' => 'Ekᵘ ashit, tshekuan an miamitunenitamikuin?',
'align' => 'right',
'translation_en' => 'And at the same time, what's on your mind?',
'translation_fr' => 'Et en même temps, qu'est-ce qui te fait réfléchir?',
'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) 949,
'story_id' => (int) 98,
'dialect_id' => null,
'content' => 'Akushun: manitushiss <i>Covid-19</i>, katshishkutamatsheutshuap, nikanishat.',
'align' => null,
'translation_en' => 'The disease Covid-19, school, my family.',
'translation_fr' => 'La maladie Covid-19, l'école, ma famille.',
'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) 9 => object(App\Model\Entity\StoryLine) {
'id' => (int) 950,
'story_id' => (int) 98,
'dialect_id' => null,
'content' => 'Tshinishtutatin nuitsheuakan, eukuan eshinakushian kie nin. Tshekuan ma tshipa tutenan. Tshika ashuapinan kanapua. Shash tshekat tshika minupanitshe.',
'align' => 'right',
'translation_en' => 'I understand, my friend, it's the same for me. What can we do? We'll wait it out. It'll be okay soon.',
'translation_fr' => 'Je te comprends mon amie, c'est la même chose pour moi. Que peut-on faire? Nous allons attendre. Ça ira bien bientôt.',
'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) 10 => object(App\Model\Entity\StoryLine) {
'id' => (int) 951,
'story_id' => (int) 98,
'dialect_id' => null,
'content' => 'Niminuenimun katshi aimitan.',
'align' => null,
'translation_en' => 'I feel good after talking to you.',
'translation_fr' => 'Je me sens bien après t'avoir parlé.',
'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) 11 => object(App\Model\Entity\StoryLine) {
'id' => (int) 952,
'story_id' => (int) 98,
'dialect_id' => null,
'content' => 'Niminueniten... eka shakuenimu, tshe aimian.',
'align' => 'right',
'translation_en' => 'I'm glad... don't be shy, give me a call [anytime].',
'translation_fr' => 'Je suis contente... ne sois pas gênée, tu m'appelleras.',
'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 = 'fr'
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => true
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
$soundDialect = 'C'
$preURL = '/'
$dialectFound = [
(int) 0 => (int) 2
]
$media = object(App\Model\Entity\Media) {
'id' => (int) 7222,
'url' => '/files/sounds/est/N4_C2_Est_Apu shukw_YMGM_P13.mp3',
'locale' => null,
'dialect_id' => (int) 2,
'filename' => 'N4_C2_Est_Apu shukw_YMGM_P13.mp3',
'mime' => 'audio/mpeg',
'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) 952,
'media_id' => (int) 7222
],
'[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) 952,
'story_id' => (int) 98,
'dialect_id' => null,
'content' => 'Niminueniten... eka shakuenimu, tshe aimian.',
'align' => 'right',
'translation_en' => 'I'm glad... don't be shy, give me a call [anytime].',
'translation_fr' => 'Je suis contente... ne sois pas gênée, tu m'appelleras.',
'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 = 'Est'
$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) 340
],
'[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) 2384
$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/matching.ctp, line 62
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
Zut! On n'a pas cette leçon dans le dialecte
. On l'a remplacé par le dialecte
Est.