Notice (8): Undefined variable: _SESSION [APP/Controller/NodeController.php, line 208]Code Contextforeach ($_comments as $c) {
if ($c['Comment']['active'] == -1) {
if ($c['Comment']['user_id'] == $_SESSION['Auth_User']['id']) {
$id = (int) 8 $cond = '`Comment`.`node_id` = '8' AND `Comment`.`kind` LIKE 'C'' $fields = array( (int) 0 => 'text', (int) 1 => 'user_id', (int) 2 => 'User.name', (int) 3 => 'User.photo', (int) 4 => 'created_at', (int) 5 => 'id', (int) 6 => 'active' ) $node = array( 'Nodetext' => array( 'slug' => 'الصف_الثاني_المتوسط', 'title' => 'الصف الثاني المتوسط', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '8', 'thumb' => null, 'parentID' => null, 'sequence' => '8', 'has_videos' => '-1' ) ) $cond_child = '`Node`.`parentID` = '' AND `Nodetext`.`local` = 'ara' AND `Node`.`active` = '1' AND `Node`.`id` != '8'' $_nodes = array( (int) 0 => array( 'Nodetext' => array( 'slug' => 'الرياضيات', 'title' => 'الرياضيات', 'title_seo' => 'حل كتاب الرياضيات الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '82', 'thumb' => '1636536912.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 1 => array( 'Nodetext' => array( 'slug' => 'لغتي', 'title' => 'لغتي', 'title_seo' => 'حل كتاب لغتي الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '83', 'thumb' => '1636536964.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 2 => array( 'Nodetext' => array( 'slug' => 'العلوم', 'title' => 'العلوم', 'title_seo' => 'حل كتاب العلوم الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '15', 'thumb' => '1636536945.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 3 => array( 'Nodetext' => array( 'slug' => 'الاجتماعيات', 'title' => 'الاجتماعيات', 'title_seo' => 'حل كتاب الاجتماعيات الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '139', 'thumb' => '1636536988.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 4 => array( 'Nodetext' => array( 'slug' => 'الدراسات_الإسلامية', 'title' => 'الدراسات الإسلامية', 'title_seo' => 'حل كتاب الدراسات الإسلامية الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '772', 'thumb' => '1638134437.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 5 => array( 'Nodetext' => array( 'slug' => 'اللغة_الانجليزية', 'title' => 'اللغة الانجليزية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '477', 'thumb' => '1637240821.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 6 => array( 'Nodetext' => array( 'slug' => 'التجويد', 'title' => 'التجويد', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '2533', 'thumb' => '1641905319.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 7 => array( 'Nodetext' => array( 'slug' => 'المهارات_الحياتية', 'title' => 'المهارات الحياتية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '1771', 'thumb' => '1640685436.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 8 => array( 'Nodetext' => array( 'slug' => 'المهارات_الرقمية', 'title' => 'المهارات الرقمية', 'title_seo' => 'حلول كتاب المهارات الرقمية للصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '6682', 'thumb' => '1646167153.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 9 => array( 'Nodetext' => array( 'slug' => 'التربية_الفنية', 'title' => 'التربية الفنية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '8015', 'thumb' => '1648291289.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ) ) $nodes_count = (int) 10 $nodes_no_icon = array() $nodes_icon = array( (int) 0 => array( 'Nodetext' => array( 'slug' => 'الرياضيات', 'title' => 'الرياضيات', 'title_seo' => 'حل كتاب الرياضيات الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '82', 'thumb' => '1636536912.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 1 => array( 'Nodetext' => array( 'slug' => 'لغتي', 'title' => 'لغتي', 'title_seo' => 'حل كتاب لغتي الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '83', 'thumb' => '1636536964.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 2 => array( 'Nodetext' => array( 'slug' => 'العلوم', 'title' => 'العلوم', 'title_seo' => 'حل كتاب العلوم الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '15', 'thumb' => '1636536945.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 3 => array( 'Nodetext' => array( 'slug' => 'الاجتماعيات', 'title' => 'الاجتماعيات', 'title_seo' => 'حل كتاب الاجتماعيات الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '139', 'thumb' => '1636536988.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 4 => array( 'Nodetext' => array( 'slug' => 'الدراسات_الإسلامية', 'title' => 'الدراسات الإسلامية', 'title_seo' => 'حل كتاب الدراسات الإسلامية الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '772', 'thumb' => '1638134437.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 5 => array( 'Nodetext' => array( 'slug' => 'اللغة_الانجليزية', 'title' => 'اللغة الانجليزية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '477', 'thumb' => '1637240821.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 6 => array( 'Nodetext' => array( 'slug' => 'التجويد', 'title' => 'التجويد', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '2533', 'thumb' => '1641905319.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 7 => array( 'Nodetext' => array( 'slug' => 'المهارات_الحياتية', 'title' => 'المهارات الحياتية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '1771', 'thumb' => '1640685436.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 8 => array( 'Nodetext' => array( 'slug' => 'المهارات_الرقمية', 'title' => 'المهارات الرقمية', 'title_seo' => 'حلول كتاب المهارات الرقمية للصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '6682', 'thumb' => '1646167153.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 9 => array( 'Nodetext' => array( 'slug' => 'التربية_الفنية', 'title' => 'التربية الفنية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '8015', 'thumb' => '1648291289.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ) ) $children = array() $_exams = array() $exams = array() $i = (int) 4 $files = array() $videos = array() $_comments = array( (int) 0 => array( 'Comment' => array( 'text' => 'هل يوجد ملخص للرياضيات ثاني متوسط الفصل الثالث؟', 'user_id' => '1894', 'created_at' => '2023-06-15 12:18:13', 'id' => '62', 'active' => '1' ), 'User' => array( 'name' => 'hanan hanan', 'photo' => '942-1686824083.jpg' ) ), (int) 1 => array( 'Comment' => array( 'text' => 'التطبيق جيد', 'user_id' => '2079', 'created_at' => '2023-07-11 19:57:41', 'id' => '64', 'active' => '1' ), 'User' => array( 'name' => 'Hada', 'photo' => '274-1689237646.jpg' ) ), (int) 2 => array( 'Comment' => array( 'text' => '?good afternoon, do you have the answer to the pioneer workbook 2015 level B2?', 'user_id' => '2300', 'created_at' => '2023-09-11 14:41:23', 'id' => '67', 'active' => '1' ), 'User' => array( 'name' => 'вика черепанова', 'photo' => '821-1694436076.jpg' ) ), (int) 3 => array( 'Comment' => array( 'text' => 'لماذا لايوجد أسئلة لغتي ثاني متوسط الفصل الأول؟', 'user_id' => '2387', 'created_at' => '2023-09-17 22:03:56', 'id' => '68', 'active' => '1' ), 'User' => array( 'name' => 'أبو سعد', 'photo' => '45-1694980510.jpg' ) ), (int) 4 => array( 'Comment' => array( 'text' => '...', 'user_id' => '4551', 'created_at' => '2025-02-10 20:24:38', 'id' => '112', 'active' => '-1' ), 'User' => array( 'name' => 'Nada Alharbi', 'photo' => '506-1739215421.jpg' ) ) ) $comments = array( (int) 0 => array( 'Comment' => array( 'id' => '62', 'user_id' => '1894', 'text' => 'هل يوجد ملخص للرياضيات ثاني متوسط الفصل الثالث؟', 'created_at' => '2023-06-15 12:18:13' ), 'User' => array( 'name' => 'hanan hanan', 'photo' => '942-1686824083.jpg' ) ), (int) 1 => array( 'Comment' => array( 'id' => '64', 'user_id' => '2079', 'text' => 'التطبيق جيد', 'created_at' => '2023-07-11 19:57:41' ), 'User' => array( 'name' => 'Hada', 'photo' => '274-1689237646.jpg' ) ), (int) 2 => array( 'Comment' => array( 'id' => '67', 'user_id' => '2300', 'text' => '?good afternoon, do you have the answer to the pioneer workbook 2015 level B2?', 'created_at' => '2023-09-11 14:41:23' ), 'User' => array( 'name' => 'вика черепанова', 'photo' => '821-1694436076.jpg' ) ), (int) 3 => array( 'Comment' => array( 'id' => '68', 'user_id' => '2387', 'text' => 'لماذا لايوجد أسئلة لغتي ثاني متوسط الفصل الأول؟', 'created_at' => '2023-09-17 22:03:56' ), 'User' => array( 'name' => 'أبو سعد', 'photo' => '45-1694980510.jpg' ) ) ) $c = array( 'Comment' => array( 'text' => '...', 'user_id' => '4551', 'created_at' => '2025-02-10 20:24:38', 'id' => '112', 'active' => '-1' ), 'User' => array( 'name' => 'Nada Alharbi', 'photo' => '506-1739215421.jpg' ) )NodeController::index() - APP/Controller/NodeController.php, line 208 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 108
Notice (8): Trying to access array offset on value of type null [APP/Controller/NodeController.php, line 208]Code Contextforeach ($_comments as $c) {
if ($c['Comment']['active'] == -1) {
if ($c['Comment']['user_id'] == $_SESSION['Auth_User']['id']) {
$id = (int) 8 $cond = '`Comment`.`node_id` = '8' AND `Comment`.`kind` LIKE 'C'' $fields = array( (int) 0 => 'text', (int) 1 => 'user_id', (int) 2 => 'User.name', (int) 3 => 'User.photo', (int) 4 => 'created_at', (int) 5 => 'id', (int) 6 => 'active' ) $node = array( 'Nodetext' => array( 'slug' => 'الصف_الثاني_المتوسط', 'title' => 'الصف الثاني المتوسط', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '8', 'thumb' => null, 'parentID' => null, 'sequence' => '8', 'has_videos' => '-1' ) ) $cond_child = '`Node`.`parentID` = '' AND `Nodetext`.`local` = 'ara' AND `Node`.`active` = '1' AND `Node`.`id` != '8'' $_nodes = array( (int) 0 => array( 'Nodetext' => array( 'slug' => 'الرياضيات', 'title' => 'الرياضيات', 'title_seo' => 'حل كتاب الرياضيات الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '82', 'thumb' => '1636536912.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 1 => array( 'Nodetext' => array( 'slug' => 'لغتي', 'title' => 'لغتي', 'title_seo' => 'حل كتاب لغتي الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '83', 'thumb' => '1636536964.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 2 => array( 'Nodetext' => array( 'slug' => 'العلوم', 'title' => 'العلوم', 'title_seo' => 'حل كتاب العلوم الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '15', 'thumb' => '1636536945.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 3 => array( 'Nodetext' => array( 'slug' => 'الاجتماعيات', 'title' => 'الاجتماعيات', 'title_seo' => 'حل كتاب الاجتماعيات الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '139', 'thumb' => '1636536988.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 4 => array( 'Nodetext' => array( 'slug' => 'الدراسات_الإسلامية', 'title' => 'الدراسات الإسلامية', 'title_seo' => 'حل كتاب الدراسات الإسلامية الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '772', 'thumb' => '1638134437.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 5 => array( 'Nodetext' => array( 'slug' => 'اللغة_الانجليزية', 'title' => 'اللغة الانجليزية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '477', 'thumb' => '1637240821.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 6 => array( 'Nodetext' => array( 'slug' => 'التجويد', 'title' => 'التجويد', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '2533', 'thumb' => '1641905319.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 7 => array( 'Nodetext' => array( 'slug' => 'المهارات_الحياتية', 'title' => 'المهارات الحياتية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '1771', 'thumb' => '1640685436.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 8 => array( 'Nodetext' => array( 'slug' => 'المهارات_الرقمية', 'title' => 'المهارات الرقمية', 'title_seo' => 'حلول كتاب المهارات الرقمية للصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '6682', 'thumb' => '1646167153.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 9 => array( 'Nodetext' => array( 'slug' => 'التربية_الفنية', 'title' => 'التربية الفنية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '8015', 'thumb' => '1648291289.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ) ) $nodes_count = (int) 10 $nodes_no_icon = array() $nodes_icon = array( (int) 0 => array( 'Nodetext' => array( 'slug' => 'الرياضيات', 'title' => 'الرياضيات', 'title_seo' => 'حل كتاب الرياضيات الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '82', 'thumb' => '1636536912.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 1 => array( 'Nodetext' => array( 'slug' => 'لغتي', 'title' => 'لغتي', 'title_seo' => 'حل كتاب لغتي الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '83', 'thumb' => '1636536964.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 2 => array( 'Nodetext' => array( 'slug' => 'العلوم', 'title' => 'العلوم', 'title_seo' => 'حل كتاب العلوم الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '15', 'thumb' => '1636536945.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 3 => array( 'Nodetext' => array( 'slug' => 'الاجتماعيات', 'title' => 'الاجتماعيات', 'title_seo' => 'حل كتاب الاجتماعيات الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '139', 'thumb' => '1636536988.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 4 => array( 'Nodetext' => array( 'slug' => 'الدراسات_الإسلامية', 'title' => 'الدراسات الإسلامية', 'title_seo' => 'حل كتاب الدراسات الإسلامية الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '772', 'thumb' => '1638134437.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 5 => array( 'Nodetext' => array( 'slug' => 'اللغة_الانجليزية', 'title' => 'اللغة الانجليزية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '477', 'thumb' => '1637240821.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 6 => array( 'Nodetext' => array( 'slug' => 'التجويد', 'title' => 'التجويد', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '2533', 'thumb' => '1641905319.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 7 => array( 'Nodetext' => array( 'slug' => 'المهارات_الحياتية', 'title' => 'المهارات الحياتية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '1771', 'thumb' => '1640685436.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 8 => array( 'Nodetext' => array( 'slug' => 'المهارات_الرقمية', 'title' => 'المهارات الرقمية', 'title_seo' => 'حلول كتاب المهارات الرقمية للصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '6682', 'thumb' => '1646167153.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 9 => array( 'Nodetext' => array( 'slug' => 'التربية_الفنية', 'title' => 'التربية الفنية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '8015', 'thumb' => '1648291289.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ) ) $children = array() $_exams = array() $exams = array() $i = (int) 4 $files = array() $videos = array() $_comments = array( (int) 0 => array( 'Comment' => array( 'text' => 'هل يوجد ملخص للرياضيات ثاني متوسط الفصل الثالث؟', 'user_id' => '1894', 'created_at' => '2023-06-15 12:18:13', 'id' => '62', 'active' => '1' ), 'User' => array( 'name' => 'hanan hanan', 'photo' => '942-1686824083.jpg' ) ), (int) 1 => array( 'Comment' => array( 'text' => 'التطبيق جيد', 'user_id' => '2079', 'created_at' => '2023-07-11 19:57:41', 'id' => '64', 'active' => '1' ), 'User' => array( 'name' => 'Hada', 'photo' => '274-1689237646.jpg' ) ), (int) 2 => array( 'Comment' => array( 'text' => '?good afternoon, do you have the answer to the pioneer workbook 2015 level B2?', 'user_id' => '2300', 'created_at' => '2023-09-11 14:41:23', 'id' => '67', 'active' => '1' ), 'User' => array( 'name' => 'вика черепанова', 'photo' => '821-1694436076.jpg' ) ), (int) 3 => array( 'Comment' => array( 'text' => 'لماذا لايوجد أسئلة لغتي ثاني متوسط الفصل الأول؟', 'user_id' => '2387', 'created_at' => '2023-09-17 22:03:56', 'id' => '68', 'active' => '1' ), 'User' => array( 'name' => 'أبو سعد', 'photo' => '45-1694980510.jpg' ) ), (int) 4 => array( 'Comment' => array( 'text' => '...', 'user_id' => '4551', 'created_at' => '2025-02-10 20:24:38', 'id' => '112', 'active' => '-1' ), 'User' => array( 'name' => 'Nada Alharbi', 'photo' => '506-1739215421.jpg' ) ) ) $comments = array( (int) 0 => array( 'Comment' => array( 'id' => '62', 'user_id' => '1894', 'text' => 'هل يوجد ملخص للرياضيات ثاني متوسط الفصل الثالث؟', 'created_at' => '2023-06-15 12:18:13' ), 'User' => array( 'name' => 'hanan hanan', 'photo' => '942-1686824083.jpg' ) ), (int) 1 => array( 'Comment' => array( 'id' => '64', 'user_id' => '2079', 'text' => 'التطبيق جيد', 'created_at' => '2023-07-11 19:57:41' ), 'User' => array( 'name' => 'Hada', 'photo' => '274-1689237646.jpg' ) ), (int) 2 => array( 'Comment' => array( 'id' => '67', 'user_id' => '2300', 'text' => '?good afternoon, do you have the answer to the pioneer workbook 2015 level B2?', 'created_at' => '2023-09-11 14:41:23' ), 'User' => array( 'name' => 'вика черепанова', 'photo' => '821-1694436076.jpg' ) ), (int) 3 => array( 'Comment' => array( 'id' => '68', 'user_id' => '2387', 'text' => 'لماذا لايوجد أسئلة لغتي ثاني متوسط الفصل الأول؟', 'created_at' => '2023-09-17 22:03:56' ), 'User' => array( 'name' => 'أبو سعد', 'photo' => '45-1694980510.jpg' ) ) ) $c = array( 'Comment' => array( 'text' => '...', 'user_id' => '4551', 'created_at' => '2025-02-10 20:24:38', 'id' => '112', 'active' => '-1' ), 'User' => array( 'name' => 'Nada Alharbi', 'photo' => '506-1739215421.jpg' ) )NodeController::index() - APP/Controller/NodeController.php, line 208 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 108
Notice (8): Trying to access array offset on value of type null [APP/Controller/NodeController.php, line 208]Code Contextforeach ($_comments as $c) {
if ($c['Comment']['active'] == -1) {
if ($c['Comment']['user_id'] == $_SESSION['Auth_User']['id']) {
$id = (int) 8 $cond = '`Comment`.`node_id` = '8' AND `Comment`.`kind` LIKE 'C'' $fields = array( (int) 0 => 'text', (int) 1 => 'user_id', (int) 2 => 'User.name', (int) 3 => 'User.photo', (int) 4 => 'created_at', (int) 5 => 'id', (int) 6 => 'active' ) $node = array( 'Nodetext' => array( 'slug' => 'الصف_الثاني_المتوسط', 'title' => 'الصف الثاني المتوسط', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '8', 'thumb' => null, 'parentID' => null, 'sequence' => '8', 'has_videos' => '-1' ) ) $cond_child = '`Node`.`parentID` = '' AND `Nodetext`.`local` = 'ara' AND `Node`.`active` = '1' AND `Node`.`id` != '8'' $_nodes = array( (int) 0 => array( 'Nodetext' => array( 'slug' => 'الرياضيات', 'title' => 'الرياضيات', 'title_seo' => 'حل كتاب الرياضيات الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '82', 'thumb' => '1636536912.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 1 => array( 'Nodetext' => array( 'slug' => 'لغتي', 'title' => 'لغتي', 'title_seo' => 'حل كتاب لغتي الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '83', 'thumb' => '1636536964.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 2 => array( 'Nodetext' => array( 'slug' => 'العلوم', 'title' => 'العلوم', 'title_seo' => 'حل كتاب العلوم الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '15', 'thumb' => '1636536945.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 3 => array( 'Nodetext' => array( 'slug' => 'الاجتماعيات', 'title' => 'الاجتماعيات', 'title_seo' => 'حل كتاب الاجتماعيات الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '139', 'thumb' => '1636536988.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 4 => array( 'Nodetext' => array( 'slug' => 'الدراسات_الإسلامية', 'title' => 'الدراسات الإسلامية', 'title_seo' => 'حل كتاب الدراسات الإسلامية الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '772', 'thumb' => '1638134437.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 5 => array( 'Nodetext' => array( 'slug' => 'اللغة_الانجليزية', 'title' => 'اللغة الانجليزية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '477', 'thumb' => '1637240821.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 6 => array( 'Nodetext' => array( 'slug' => 'التجويد', 'title' => 'التجويد', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '2533', 'thumb' => '1641905319.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 7 => array( 'Nodetext' => array( 'slug' => 'المهارات_الحياتية', 'title' => 'المهارات الحياتية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '1771', 'thumb' => '1640685436.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 8 => array( 'Nodetext' => array( 'slug' => 'المهارات_الرقمية', 'title' => 'المهارات الرقمية', 'title_seo' => 'حلول كتاب المهارات الرقمية للصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '6682', 'thumb' => '1646167153.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 9 => array( 'Nodetext' => array( 'slug' => 'التربية_الفنية', 'title' => 'التربية الفنية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '8015', 'thumb' => '1648291289.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ) ) $nodes_count = (int) 10 $nodes_no_icon = array() $nodes_icon = array( (int) 0 => array( 'Nodetext' => array( 'slug' => 'الرياضيات', 'title' => 'الرياضيات', 'title_seo' => 'حل كتاب الرياضيات الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '82', 'thumb' => '1636536912.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 1 => array( 'Nodetext' => array( 'slug' => 'لغتي', 'title' => 'لغتي', 'title_seo' => 'حل كتاب لغتي الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '83', 'thumb' => '1636536964.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 2 => array( 'Nodetext' => array( 'slug' => 'العلوم', 'title' => 'العلوم', 'title_seo' => 'حل كتاب العلوم الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '15', 'thumb' => '1636536945.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 3 => array( 'Nodetext' => array( 'slug' => 'الاجتماعيات', 'title' => 'الاجتماعيات', 'title_seo' => 'حل كتاب الاجتماعيات الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '139', 'thumb' => '1636536988.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 4 => array( 'Nodetext' => array( 'slug' => 'الدراسات_الإسلامية', 'title' => 'الدراسات الإسلامية', 'title_seo' => 'حل كتاب الدراسات الإسلامية الصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '772', 'thumb' => '1638134437.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 5 => array( 'Nodetext' => array( 'slug' => 'اللغة_الانجليزية', 'title' => 'اللغة الانجليزية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '477', 'thumb' => '1637240821.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 6 => array( 'Nodetext' => array( 'slug' => 'التجويد', 'title' => 'التجويد', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '2533', 'thumb' => '1641905319.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 7 => array( 'Nodetext' => array( 'slug' => 'المهارات_الحياتية', 'title' => 'المهارات الحياتية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '1771', 'thumb' => '1640685436.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 8 => array( 'Nodetext' => array( 'slug' => 'المهارات_الرقمية', 'title' => 'المهارات الرقمية', 'title_seo' => 'حلول كتاب المهارات الرقمية للصف الثاني المتوسط', 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '6682', 'thumb' => '1646167153.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ), (int) 9 => array( 'Nodetext' => array( 'slug' => 'التربية_الفنية', 'title' => 'التربية الفنية', 'title_seo' => null, 'content' => '', 'desc' => '', 'tags' => null ), 'Node' => array( 'id' => '8015', 'thumb' => '1648291289.png', 'parentID' => '8', 'sequence' => '0', 'has_videos' => '-1' ) ) ) $children = array() $_exams = array() $exams = array() $i = (int) 4 $files = array() $videos = array() $_comments = array( (int) 0 => array( 'Comment' => array( 'text' => 'هل يوجد ملخص للرياضيات ثاني متوسط الفصل الثالث؟', 'user_id' => '1894', 'created_at' => '2023-06-15 12:18:13', 'id' => '62', 'active' => '1' ), 'User' => array( 'name' => 'hanan hanan', 'photo' => '942-1686824083.jpg' ) ), (int) 1 => array( 'Comment' => array( 'text' => 'التطبيق جيد', 'user_id' => '2079', 'created_at' => '2023-07-11 19:57:41', 'id' => '64', 'active' => '1' ), 'User' => array( 'name' => 'Hada', 'photo' => '274-1689237646.jpg' ) ), (int) 2 => array( 'Comment' => array( 'text' => '?good afternoon, do you have the answer to the pioneer workbook 2015 level B2?', 'user_id' => '2300', 'created_at' => '2023-09-11 14:41:23', 'id' => '67', 'active' => '1' ), 'User' => array( 'name' => 'вика черепанова', 'photo' => '821-1694436076.jpg' ) ), (int) 3 => array( 'Comment' => array( 'text' => 'لماذا لايوجد أسئلة لغتي ثاني متوسط الفصل الأول؟', 'user_id' => '2387', 'created_at' => '2023-09-17 22:03:56', 'id' => '68', 'active' => '1' ), 'User' => array( 'name' => 'أبو سعد', 'photo' => '45-1694980510.jpg' ) ), (int) 4 => array( 'Comment' => array( 'text' => '...', 'user_id' => '4551', 'created_at' => '2025-02-10 20:24:38', 'id' => '112', 'active' => '-1' ), 'User' => array( 'name' => 'Nada Alharbi', 'photo' => '506-1739215421.jpg' ) ) ) $comments = array( (int) 0 => array( 'Comment' => array( 'id' => '62', 'user_id' => '1894', 'text' => 'هل يوجد ملخص للرياضيات ثاني متوسط الفصل الثالث؟', 'created_at' => '2023-06-15 12:18:13' ), 'User' => array( 'name' => 'hanan hanan', 'photo' => '942-1686824083.jpg' ) ), (int) 1 => array( 'Comment' => array( 'id' => '64', 'user_id' => '2079', 'text' => 'التطبيق جيد', 'created_at' => '2023-07-11 19:57:41' ), 'User' => array( 'name' => 'Hada', 'photo' => '274-1689237646.jpg' ) ), (int) 2 => array( 'Comment' => array( 'id' => '67', 'user_id' => '2300', 'text' => '?good afternoon, do you have the answer to the pioneer workbook 2015 level B2?', 'created_at' => '2023-09-11 14:41:23' ), 'User' => array( 'name' => 'вика черепанова', 'photo' => '821-1694436076.jpg' ) ), (int) 3 => array( 'Comment' => array( 'id' => '68', 'user_id' => '2387', 'text' => 'لماذا لايوجد أسئلة لغتي ثاني متوسط الفصل الأول؟', 'created_at' => '2023-09-17 22:03:56' ), 'User' => array( 'name' => 'أبو سعد', 'photo' => '45-1694980510.jpg' ) ) ) $c = array( 'Comment' => array( 'text' => '...', 'user_id' => '4551', 'created_at' => '2025-02-10 20:24:38', 'id' => '112', 'active' => '-1' ), 'User' => array( 'name' => 'Nada Alharbi', 'photo' => '506-1739215421.jpg' ) )NodeController::index() - APP/Controller/NodeController.php, line 208 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 108
© 2025 موقع سبورة - طلاب السعودية
تم حفظ السؤال في محفظة الأسئلة