Notice (8): Trying to access array offset on value of type bool [APP/Plugin/Job/Controller/JobsController.php, line 902]Code Context || $job['JobJob']['status'] == STATUS_APPROVED
|| $uid == $job['User']['id']
|| $viewer['Role']['is_admin'] ) {
$id = '1'
$job_id = (int) 1
$job = array(
'JobJob' => array(
'id' => '1',
'name' => 'Job 1',
'user_id' => '2',
'status' => '6',
'featured' => false,
'job_company_id' => '1',
'job_package_id' => '1',
'job_industry_id' => '1',
'job_industry_list' => '["1"]',
'job_type_id' => '1',
'job_level_id' => '1',
'description' => '<div>Job 1 Description</div>',
'location' => 'HCMC, Vietnam',
'lat' => '10.7764772',
'lng' => '106.701938',
'time' => '8',
'salary_per_hour' => '12000.00',
'number_of_vacancies' => '10',
'valid_until' => '2023-02-28',
'valid_until_time' => '23:30',
'timezone' => 'Asia/Bangkok',
'application_form' => '',
'thumbnail' => '',
'created' => '2023-02-08 10:31:32',
'modified' => '2023-02-08 10:31:32',
'privacy' => '1',
'job_candidate_count' => '0',
'view_count' => '2',
'share_count' => '0',
'like_count' => '0',
'comment_count' => '0',
'dislike_count' => '0',
'alert' => true,
'moo_title' => 'Job 1',
'moo_href' => '/php74/moo-318/job/jobs/view/1/job-1',
'moo_plugin' => 'Job',
'moo_type' => 'Job_Job_Job',
'moo_url' => '/job/jobs/view/1/job-1',
'moo_privacy' => '1'
),
'User' => array(
'password' => '*****',
'id' => '2',
'name' => 'Thao Thai "<>:!@#$%^&*()?',
'email' => 'thao@mail.com',
'salt' => 'a71e',
'role_id' => '2',
'avatar' => '777baa8e8f3a2900595a4abd83745510.jpg',
'photo' => '',
'created' => '2022-12-08 08:59:01',
'last_login' => '2023-03-17 03:43:17',
'photo_count' => '101',
'friend_count' => '20',
'notification_count' => '4',
'friend_request_count' => '0',
'blog_count' => '16',
'topic_count' => '3',
'group_count' => '9',
'event_count' => '8',
'conversation_user_count' => '0',
'video_count' => '7',
'gender' => 'Female',
'birthday' => '1998-01-18',
'active' => true,
'confirmed' => true,
'code' => '8e01251972430ec5b5845996c0dc96f8',
'notification_email' => true,
'timezone' => 'Asia/Bangkok',
'ip_address' => '192.168.168.1',
'privacy' => '1',
'username' => '',
'about' => '',
'featured' => true,
'lang' => 'vie',
'hide_online' => false,
'cover' => '5170ecb0bb28207ae6b5b718ad2a15ce.jpg',
'approved' => true,
'is_social' => false,
'has_active_subscription' => true,
'receive_message_from_non_friend' => true,
'send_email_when_send_message' => true,
'request_friend_email' => true,
'notification_setting' => null,
'profile_type_id' => '1',
'package_select' => '0',
'who_can_see_gender' => '0',
'lock_delete' => false,
'darkmode' => false,
'signature' => '',
'show_signature' => '1',
'phone' => null,
'phone_verified' => false,
'moo_title' => 'Thao Thai "<>:!@#$%^&*()?',
'moo_href' => '/php74/moo-318/users/view/2',
'moo_plugin' => null,
'moo_type' => 'User',
'moo_url' => '/users/view/2',
'moo_thumb' => 'avatar'
),
'JobCompany' => array(
'id' => '1',
'name' => 'Testing Company',
'user_id' => '2',
'approved' => true,
'sponsored' => false,
'description' => '<div>Testing Company Information</div>',
'location' => 'Vietnam',
'lat' => '15.9266657',
'lng' => '107.9650855',
'website' => 'https://www.google.com/',
'f_size' => '0',
't_size' => '0',
'thumbnail' => '809fe7a807b44c6c9ee7eeb151d71dd2.jpg',
'c_name' => 'Admin',
'c_email' => 'thao@mail.com',
'c_phone' => '2126161',
'c_fax' => '',
'created' => '2023-02-08 10:25:52',
'modified' => '2023-02-08 10:25:52',
'privacy' => '1',
'job_job_count' => '1',
'job_candidate_count' => '0',
'job_companymember_count' => '1',
'share_count' => '0',
'like_count' => '0',
'comment_count' => '0',
'dislike_count' => '0',
'moo_title' => 'Testing Company',
'moo_href' => '/php74/moo-318/job/job_companies/view/1/testing-company',
'moo_plugin' => 'Job',
'moo_type' => 'Job_Job_Company',
'moo_url' => '/job/job_companies/view/1/testing-company',
'moo_thumb' => 'thumbnail',
'moo_privacy' => '1'
),
'JobIndustry' => array(
'id' => '1',
'parent_id' => '0',
'lft' => '1',
'rght' => '2',
'name' => 'Test',
'job_job_count' => '1',
'order' => '0'
),
'JobType' => array(
'id' => '1',
'name' => 'Type 1',
'job_job_count' => '1',
'order' => '0'
),
'JobLevel' => array(
'id' => '1',
'name' => 'Level 1',
'job_job_count' => '1',
'order' => '0'
),
'JobPackage' => array(
'id' => '1',
'name' => 'Fee package',
'description' => 'Fee package',
'price' => '0.00',
'valid_period' => '10',
'expiration_reminder' => '1',
'job_job_count' => '1',
'on_create' => true,
'on_upgrade' => true,
'active' => true,
'ordering' => '0',
'created' => '2023-02-08 10:26:59',
'modified' => '2023-02-08 10:26:59'
)
)
$uid = null
$helper = object(JobHelper) {
friend_list => array()
helpers => array(
(int) 0 => 'Storage.Storage'
)
settings => array()
theme => null
request => object(CakeRequest) {}
plugin => null
fieldset => array()
tags => array()
[protected] _helperMap => array(
'Storage' => array(
[maximum depth reached]
)
)
[protected] _tainted => null
[protected] _cleaned => null
[protected] _View => object(MooView) {}
[protected] _fieldSuffixes => array(
(int) 0 => 'year',
(int) 1 => 'month',
(int) 2 => 'day',
(int) 3 => 'hour',
(int) 4 => 'min',
(int) 5 => 'second',
(int) 6 => 'meridian'
)
[protected] _modelScope => null
[protected] _association => null
[protected] _entityPath => null
[protected] _minimizedAttributes => array(
(int) 0 => 'allowfullscreen',
(int) 1 => 'async',
(int) 2 => 'autofocus',
(int) 3 => 'autoplay',
(int) 4 => 'checked',
(int) 5 => 'compact',
(int) 6 => 'controls',
(int) 7 => 'declare',
(int) 8 => 'default',
(int) 9 => 'defaultchecked',
(int) 10 => 'defaultmuted',
(int) 11 => 'defaultselected',
(int) 12 => 'defer',
(int) 13 => 'disabled',
(int) 14 => 'enabled',
(int) 15 => 'formnovalidate',
(int) 16 => 'hidden',
(int) 17 => 'indeterminate',
(int) 18 => 'inert',
(int) 19 => 'ismap',
(int) 20 => 'itemscope',
(int) 21 => 'loop',
(int) 22 => 'multiple',
(int) 23 => 'muted',
(int) 24 => 'nohref',
(int) 25 => 'noresize',
(int) 26 => 'noshade',
(int) 27 => 'novalidate',
(int) 28 => 'nowrap',
(int) 29 => 'open',
(int) 30 => 'pauseonexit',
(int) 31 => 'readonly',
(int) 32 => 'required',
(int) 33 => 'reversed',
(int) 34 => 'scoped',
(int) 35 => 'seamless',
(int) 36 => 'selected',
(int) 37 => 'sortable',
(int) 38 => 'spellcheck',
(int) 39 => 'truespeed',
(int) 40 => 'typemustmatch',
(int) 41 => 'visible'
)
[protected] _attributeFormat => '%s="%s"'
[protected] _minimizedAttributeFormat => '%s="%s"'
}
$viewer = false
$candidate = false
$are_friend = (int) 0
JobsController::view() - APP/Plugin/Job/Controller/JobsController.php, line 902
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 504
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 80
Notice (8): Trying to access array offset on value of type null [APP/Plugin/Job/Controller/JobsController.php, line 902]Code Context || $job['JobJob']['status'] == STATUS_APPROVED
|| $uid == $job['User']['id']
|| $viewer['Role']['is_admin'] ) {
$id = '1'
$job_id = (int) 1
$job = array(
'JobJob' => array(
'id' => '1',
'name' => 'Job 1',
'user_id' => '2',
'status' => '6',
'featured' => false,
'job_company_id' => '1',
'job_package_id' => '1',
'job_industry_id' => '1',
'job_industry_list' => '["1"]',
'job_type_id' => '1',
'job_level_id' => '1',
'description' => '<div>Job 1 Description</div>',
'location' => 'HCMC, Vietnam',
'lat' => '10.7764772',
'lng' => '106.701938',
'time' => '8',
'salary_per_hour' => '12000.00',
'number_of_vacancies' => '10',
'valid_until' => '2023-02-28',
'valid_until_time' => '23:30',
'timezone' => 'Asia/Bangkok',
'application_form' => '',
'thumbnail' => '',
'created' => '2023-02-08 10:31:32',
'modified' => '2023-02-08 10:31:32',
'privacy' => '1',
'job_candidate_count' => '0',
'view_count' => '2',
'share_count' => '0',
'like_count' => '0',
'comment_count' => '0',
'dislike_count' => '0',
'alert' => true,
'moo_title' => 'Job 1',
'moo_href' => '/php74/moo-318/job/jobs/view/1/job-1',
'moo_plugin' => 'Job',
'moo_type' => 'Job_Job_Job',
'moo_url' => '/job/jobs/view/1/job-1',
'moo_privacy' => '1'
),
'User' => array(
'password' => '*****',
'id' => '2',
'name' => 'Thao Thai "<>:!@#$%^&*()?',
'email' => 'thao@mail.com',
'salt' => 'a71e',
'role_id' => '2',
'avatar' => '777baa8e8f3a2900595a4abd83745510.jpg',
'photo' => '',
'created' => '2022-12-08 08:59:01',
'last_login' => '2023-03-17 03:43:17',
'photo_count' => '101',
'friend_count' => '20',
'notification_count' => '4',
'friend_request_count' => '0',
'blog_count' => '16',
'topic_count' => '3',
'group_count' => '9',
'event_count' => '8',
'conversation_user_count' => '0',
'video_count' => '7',
'gender' => 'Female',
'birthday' => '1998-01-18',
'active' => true,
'confirmed' => true,
'code' => '8e01251972430ec5b5845996c0dc96f8',
'notification_email' => true,
'timezone' => 'Asia/Bangkok',
'ip_address' => '192.168.168.1',
'privacy' => '1',
'username' => '',
'about' => '',
'featured' => true,
'lang' => 'vie',
'hide_online' => false,
'cover' => '5170ecb0bb28207ae6b5b718ad2a15ce.jpg',
'approved' => true,
'is_social' => false,
'has_active_subscription' => true,
'receive_message_from_non_friend' => true,
'send_email_when_send_message' => true,
'request_friend_email' => true,
'notification_setting' => null,
'profile_type_id' => '1',
'package_select' => '0',
'who_can_see_gender' => '0',
'lock_delete' => false,
'darkmode' => false,
'signature' => '',
'show_signature' => '1',
'phone' => null,
'phone_verified' => false,
'moo_title' => 'Thao Thai "<>:!@#$%^&*()?',
'moo_href' => '/php74/moo-318/users/view/2',
'moo_plugin' => null,
'moo_type' => 'User',
'moo_url' => '/users/view/2',
'moo_thumb' => 'avatar'
),
'JobCompany' => array(
'id' => '1',
'name' => 'Testing Company',
'user_id' => '2',
'approved' => true,
'sponsored' => false,
'description' => '<div>Testing Company Information</div>',
'location' => 'Vietnam',
'lat' => '15.9266657',
'lng' => '107.9650855',
'website' => 'https://www.google.com/',
'f_size' => '0',
't_size' => '0',
'thumbnail' => '809fe7a807b44c6c9ee7eeb151d71dd2.jpg',
'c_name' => 'Admin',
'c_email' => 'thao@mail.com',
'c_phone' => '2126161',
'c_fax' => '',
'created' => '2023-02-08 10:25:52',
'modified' => '2023-02-08 10:25:52',
'privacy' => '1',
'job_job_count' => '1',
'job_candidate_count' => '0',
'job_companymember_count' => '1',
'share_count' => '0',
'like_count' => '0',
'comment_count' => '0',
'dislike_count' => '0',
'moo_title' => 'Testing Company',
'moo_href' => '/php74/moo-318/job/job_companies/view/1/testing-company',
'moo_plugin' => 'Job',
'moo_type' => 'Job_Job_Company',
'moo_url' => '/job/job_companies/view/1/testing-company',
'moo_thumb' => 'thumbnail',
'moo_privacy' => '1'
),
'JobIndustry' => array(
'id' => '1',
'parent_id' => '0',
'lft' => '1',
'rght' => '2',
'name' => 'Test',
'job_job_count' => '1',
'order' => '0'
),
'JobType' => array(
'id' => '1',
'name' => 'Type 1',
'job_job_count' => '1',
'order' => '0'
),
'JobLevel' => array(
'id' => '1',
'name' => 'Level 1',
'job_job_count' => '1',
'order' => '0'
),
'JobPackage' => array(
'id' => '1',
'name' => 'Fee package',
'description' => 'Fee package',
'price' => '0.00',
'valid_period' => '10',
'expiration_reminder' => '1',
'job_job_count' => '1',
'on_create' => true,
'on_upgrade' => true,
'active' => true,
'ordering' => '0',
'created' => '2023-02-08 10:26:59',
'modified' => '2023-02-08 10:26:59'
)
)
$uid = null
$helper = object(JobHelper) {
friend_list => array()
helpers => array(
(int) 0 => 'Storage.Storage'
)
settings => array()
theme => null
request => object(CakeRequest) {}
plugin => null
fieldset => array()
tags => array()
[protected] _helperMap => array(
'Storage' => array(
[maximum depth reached]
)
)
[protected] _tainted => null
[protected] _cleaned => null
[protected] _View => object(MooView) {}
[protected] _fieldSuffixes => array(
(int) 0 => 'year',
(int) 1 => 'month',
(int) 2 => 'day',
(int) 3 => 'hour',
(int) 4 => 'min',
(int) 5 => 'second',
(int) 6 => 'meridian'
)
[protected] _modelScope => null
[protected] _association => null
[protected] _entityPath => null
[protected] _minimizedAttributes => array(
(int) 0 => 'allowfullscreen',
(int) 1 => 'async',
(int) 2 => 'autofocus',
(int) 3 => 'autoplay',
(int) 4 => 'checked',
(int) 5 => 'compact',
(int) 6 => 'controls',
(int) 7 => 'declare',
(int) 8 => 'default',
(int) 9 => 'defaultchecked',
(int) 10 => 'defaultmuted',
(int) 11 => 'defaultselected',
(int) 12 => 'defer',
(int) 13 => 'disabled',
(int) 14 => 'enabled',
(int) 15 => 'formnovalidate',
(int) 16 => 'hidden',
(int) 17 => 'indeterminate',
(int) 18 => 'inert',
(int) 19 => 'ismap',
(int) 20 => 'itemscope',
(int) 21 => 'loop',
(int) 22 => 'multiple',
(int) 23 => 'muted',
(int) 24 => 'nohref',
(int) 25 => 'noresize',
(int) 26 => 'noshade',
(int) 27 => 'novalidate',
(int) 28 => 'nowrap',
(int) 29 => 'open',
(int) 30 => 'pauseonexit',
(int) 31 => 'readonly',
(int) 32 => 'required',
(int) 33 => 'reversed',
(int) 34 => 'scoped',
(int) 35 => 'seamless',
(int) 36 => 'selected',
(int) 37 => 'sortable',
(int) 38 => 'spellcheck',
(int) 39 => 'truespeed',
(int) 40 => 'typemustmatch',
(int) 41 => 'visible'
)
[protected] _attributeFormat => '%s="%s"'
[protected] _minimizedAttributeFormat => '%s="%s"'
}
$viewer = false
$candidate = false
$are_friend = (int) 0
JobsController::view() - APP/Plugin/Job/Controller/JobsController.php, line 902
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 504
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 80