Notice (8) : Undefined variable: _SESSION [APP/Controller/NodeController.php , line 208 ]Code Context foreach ( $_comments as $c ) {
if ( $c [ 'Comment' ][ 'active' ] == - 1 ) {
if ( $c [ 'Comment' ][ 'user_id' ] == $_SESSION [ 'Auth_User' ][ 'id' ]) {
$id = (int) 2
$cond = '`Comment`.`node_id` = '2' 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' => '2',
'thumb' => null,
'parentID' => null,
'sequence' => '2',
'has_videos' => '-1'
)
)
$cond_child = '`Node`.`parentID` = '' AND `Nodetext`.`local` = 'ara' AND `Node`.`active` = '1' AND `Node`.`id` != '2''
$_nodes = array(
(int) 0 => array(
'Nodetext' => array(
'slug' => 'الرياضيات',
'title' => 'الرياضيات',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '10395',
'thumb' => '1656079723.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 1 => array(
'Nodetext' => array(
'slug' => 'لغتي',
'title' => 'لغتي',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '11060',
'thumb' => '1663270571.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 2 => array(
'Nodetext' => array(
'slug' => 'العلوم',
'title' => 'العلوم',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '9954',
'thumb' => '1654113562.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 3 => array(
'Nodetext' => array(
'slug' => 'الدراسات_الإسلامية',
'title' => 'الدراسات الإسلامية',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '10996',
'thumb' => '1660003827.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
)
)
$nodes_count = (int) 4
$nodes_no_icon = array()
$nodes_icon = array(
(int) 0 => array(
'Nodetext' => array(
'slug' => 'الرياضيات',
'title' => 'الرياضيات',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '10395',
'thumb' => '1656079723.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 1 => array(
'Nodetext' => array(
'slug' => 'لغتي',
'title' => 'لغتي',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '11060',
'thumb' => '1663270571.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 2 => array(
'Nodetext' => array(
'slug' => 'العلوم',
'title' => 'العلوم',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '9954',
'thumb' => '1654113562.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 3 => array(
'Nodetext' => array(
'slug' => 'الدراسات_الإسلامية',
'title' => 'الدراسات الإسلامية',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '10996',
'thumb' => '1660003827.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
)
)
$children = array()
$_exams = array()
$exams = array()
$i = (int) 0
$files = array()
$videos = array()
$_comments = array(
(int) 0 => array(
'Comment' => array(
'text' => 'اود اختبار',
'user_id' => '4922',
'created_at' => '2025-01-06 02:34:50',
'id' => '110',
'active' => '-1'
),
'User' => array(
'name' => 'ندى المرواني',
'photo' => '7-1736126896.jpg'
)
)
)
$comments = array()
$c = array(
'Comment' => array(
'text' => 'اود اختبار',
'user_id' => '4922',
'created_at' => '2025-01-06 02:34:50',
'id' => '110',
'active' => '-1'
),
'User' => array(
'name' => 'ندى المرواني',
'photo' => '7-1736126896.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 Context foreach ( $_comments as $c ) {
if ( $c [ 'Comment' ][ 'active' ] == - 1 ) {
if ( $c [ 'Comment' ][ 'user_id' ] == $_SESSION [ 'Auth_User' ][ 'id' ]) {
$id = (int) 2
$cond = '`Comment`.`node_id` = '2' 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' => '2',
'thumb' => null,
'parentID' => null,
'sequence' => '2',
'has_videos' => '-1'
)
)
$cond_child = '`Node`.`parentID` = '' AND `Nodetext`.`local` = 'ara' AND `Node`.`active` = '1' AND `Node`.`id` != '2''
$_nodes = array(
(int) 0 => array(
'Nodetext' => array(
'slug' => 'الرياضيات',
'title' => 'الرياضيات',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '10395',
'thumb' => '1656079723.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 1 => array(
'Nodetext' => array(
'slug' => 'لغتي',
'title' => 'لغتي',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '11060',
'thumb' => '1663270571.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 2 => array(
'Nodetext' => array(
'slug' => 'العلوم',
'title' => 'العلوم',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '9954',
'thumb' => '1654113562.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 3 => array(
'Nodetext' => array(
'slug' => 'الدراسات_الإسلامية',
'title' => 'الدراسات الإسلامية',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '10996',
'thumb' => '1660003827.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
)
)
$nodes_count = (int) 4
$nodes_no_icon = array()
$nodes_icon = array(
(int) 0 => array(
'Nodetext' => array(
'slug' => 'الرياضيات',
'title' => 'الرياضيات',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '10395',
'thumb' => '1656079723.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 1 => array(
'Nodetext' => array(
'slug' => 'لغتي',
'title' => 'لغتي',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '11060',
'thumb' => '1663270571.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 2 => array(
'Nodetext' => array(
'slug' => 'العلوم',
'title' => 'العلوم',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '9954',
'thumb' => '1654113562.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 3 => array(
'Nodetext' => array(
'slug' => 'الدراسات_الإسلامية',
'title' => 'الدراسات الإسلامية',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '10996',
'thumb' => '1660003827.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
)
)
$children = array()
$_exams = array()
$exams = array()
$i = (int) 0
$files = array()
$videos = array()
$_comments = array(
(int) 0 => array(
'Comment' => array(
'text' => 'اود اختبار',
'user_id' => '4922',
'created_at' => '2025-01-06 02:34:50',
'id' => '110',
'active' => '-1'
),
'User' => array(
'name' => 'ندى المرواني',
'photo' => '7-1736126896.jpg'
)
)
)
$comments = array()
$c = array(
'Comment' => array(
'text' => 'اود اختبار',
'user_id' => '4922',
'created_at' => '2025-01-06 02:34:50',
'id' => '110',
'active' => '-1'
),
'User' => array(
'name' => 'ندى المرواني',
'photo' => '7-1736126896.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 Context foreach ( $_comments as $c ) {
if ( $c [ 'Comment' ][ 'active' ] == - 1 ) {
if ( $c [ 'Comment' ][ 'user_id' ] == $_SESSION [ 'Auth_User' ][ 'id' ]) {
$id = (int) 2
$cond = '`Comment`.`node_id` = '2' 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' => '2',
'thumb' => null,
'parentID' => null,
'sequence' => '2',
'has_videos' => '-1'
)
)
$cond_child = '`Node`.`parentID` = '' AND `Nodetext`.`local` = 'ara' AND `Node`.`active` = '1' AND `Node`.`id` != '2''
$_nodes = array(
(int) 0 => array(
'Nodetext' => array(
'slug' => 'الرياضيات',
'title' => 'الرياضيات',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '10395',
'thumb' => '1656079723.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 1 => array(
'Nodetext' => array(
'slug' => 'لغتي',
'title' => 'لغتي',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '11060',
'thumb' => '1663270571.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 2 => array(
'Nodetext' => array(
'slug' => 'العلوم',
'title' => 'العلوم',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '9954',
'thumb' => '1654113562.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 3 => array(
'Nodetext' => array(
'slug' => 'الدراسات_الإسلامية',
'title' => 'الدراسات الإسلامية',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '10996',
'thumb' => '1660003827.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
)
)
$nodes_count = (int) 4
$nodes_no_icon = array()
$nodes_icon = array(
(int) 0 => array(
'Nodetext' => array(
'slug' => 'الرياضيات',
'title' => 'الرياضيات',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '10395',
'thumb' => '1656079723.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 1 => array(
'Nodetext' => array(
'slug' => 'لغتي',
'title' => 'لغتي',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '11060',
'thumb' => '1663270571.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 2 => array(
'Nodetext' => array(
'slug' => 'العلوم',
'title' => 'العلوم',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '9954',
'thumb' => '1654113562.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
),
(int) 3 => array(
'Nodetext' => array(
'slug' => 'الدراسات_الإسلامية',
'title' => 'الدراسات الإسلامية',
'title_seo' => null,
'content' => '',
'desc' => '',
'tags' => null
),
'Node' => array(
'id' => '10996',
'thumb' => '1660003827.png',
'parentID' => '2',
'sequence' => '0',
'has_videos' => '-1'
)
)
)
$children = array()
$_exams = array()
$exams = array()
$i = (int) 0
$files = array()
$videos = array()
$_comments = array(
(int) 0 => array(
'Comment' => array(
'text' => 'اود اختبار',
'user_id' => '4922',
'created_at' => '2025-01-06 02:34:50',
'id' => '110',
'active' => '-1'
),
'User' => array(
'name' => 'ندى المرواني',
'photo' => '7-1736126896.jpg'
)
)
)
$comments = array()
$c = array(
'Comment' => array(
'text' => 'اود اختبار',
'user_id' => '4922',
'created_at' => '2025-01-06 02:34:50',
'id' => '110',
'active' => '-1'
),
'User' => array(
'name' => 'ندى المرواني',
'photo' => '7-1736126896.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
موقع سبورة - طلاب السعودية - الصف الثاني الابتدائي
تم حفظ السؤال في محفظة الأسئلة