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) 466,
'activity_id' => (int) 108,
'lesson_id' => (int) 68,
'sort' => (float) 6,
'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><span style="color: #212529; font-family: -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 16px; white-space: pre-wrap; background-color: #ffffff;">Choisissez la forme correcte du verbe manquant.</span></p>',
'instructions_en' => '<p><span style="color: #212529; font-family: -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 16px; white-space: pre-wrap; background-color: #ffffff;">Choose the correct form of the missing verb.</span></p>',
'time' => '0',
'points' => '10',
'penalty' => '5',
'max_points' => (int) 0
],
'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' => 'en'
]
$activity = object(App\Model\Entity\ActivitiesLesson) {
'id' => (int) 466,
'activity_id' => (int) 108,
'lesson_id' => (int) 68,
'sort' => (float) 6,
'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><span style="color: #212529; font-family: -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 16px; white-space: pre-wrap; background-color: #ffffff;">Choisissez la forme correcte du verbe manquant.</span></p>',
'instructions_en' => '<p><span style="color: #212529; font-family: -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 16px; white-space: pre-wrap; background-color: #ffffff;">Choose the correct form of the missing verb.</span></p>',
'time' => '0',
'points' => '10',
'penalty' => '5',
'max_points' => (int) 0
]
$lexicons = []
$syllables = []
$texts = [
(int) 0 => object(App\Model\Entity\StoryLine) {
'id' => (int) 299,
'story_id' => (int) 22,
'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) 300,
'story_id' => (int) 22,
'dialect_id' => null,
'content' => 'Tan eshpanit tshuitsheuakan?',
'align' => null,
'translation_en' => 'How is your friend?',
'translation_fr' => 'Comment va ton 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) 2 => object(App\Model\Entity\StoryLine) {
'id' => (int) 301,
'story_id' => (int) 22,
'dialect_id' => null,
'content' => 'Apu shukᵘ minupanit.',
'align' => 'right',
'translation_en' => 'S/he is not doing very well.',
'translation_fr' => 'Il/elle ne va pas très 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) 3 => object(App\Model\Entity\StoryLine) {
'id' => (int) 302,
'story_id' => (int) 22,
'dialect_id' => null,
'content' => 'Nasht apu minupanit.',
'align' => 'right',
'translation_en' => 'S/he is not doing well at all.',
'translation_fr' => 'Il/elle ne va pas bien du tout.',
'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) 303,
'story_id' => (int) 22,
'dialect_id' => null,
'content' => 'Tan etit?',
'align' => null,
'translation_en' => 'What's wrong with her/him?',
'translation_fr' => 'Qu'est-ce qu'il/elle a ?',
'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) 304,
'story_id' => (int) 22,
'dialect_id' => null,
'content' => 'Akushu.',
'align' => 'right',
'translation_en' => 'S/he is sick.',
'translation_fr' => 'Il/elle est malade.',
'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) 305,
'story_id' => (int) 22,
'dialect_id' => null,
'content' => 'Tapue a?',
'align' => null,
'translation_en' => 'Really?',
'translation_fr' => 'C'est vrai?',
'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) 306,
'story_id' => (int) 22,
'dialect_id' => null,
'content' => 'Ekᵘ tshin, tan etin?',
'align' => null,
'translation_en' => 'And you, what's the matter?',
'translation_fr' => 'Et toi, qu'est-ce que tu as?',
'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) 307,
'story_id' => (int) 22,
'dialect_id' => null,
'content' => 'Nin, apu tshekuan itian.',
'align' => 'right',
'translation_en' => 'I'm fine, there's nothing wrong.',
'translation_fr' => 'Moi, je n'ai rien.',
'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) 308,
'story_id' => (int) 22,
'dialect_id' => null,
'content' => 'Nitshiuen, nika ashteieshkushin.',
'align' => 'right',
'translation_en' => 'I'm going home, I'm going to rest.',
'translation_fr' => 'Je rentre, je vais aller me reposer.',
'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) 309,
'story_id' => (int) 22,
'dialect_id' => null,
'content' => 'Eukuan miam, niaut!',
'align' => null,
'translation_en' => 'That's good, goodbye!',
'translation_fr' => 'C'est bien, au revoir!',
'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) 310,
'story_id' => (int) 22,
'dialect_id' => null,
'content' => 'Iame uenapissish!',
'align' => 'right',
'translation_en' => 'See you soon!',
'translation_fr' => 'À 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'
}
]
$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) 3459,
'url' => '/files/sounds/est/Dialogue8_niveau1_Est_AMYM_16.mp3',
'locale' => null,
'dialect_id' => (int) 2,
'filename' => 'Dialogue8_niveau1_Est_AMYM_16.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) 310,
'media_id' => (int) 3459
],
'[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) 310,
'story_id' => (int) 22,
'dialect_id' => null,
'content' => 'Iame uenapissish!',
'align' => 'right',
'translation_en' => 'See you soon!',
'translation_fr' => 'À bientôt!',
'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) 68
],
'[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) 435
$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/closedtext.ctp, line 41
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.