Notice (8): Undefined index: Translation [APP/Controller/PagesController.php, line 91]Code Context$defaultLangID = $languageMdl->default_language();$pagedetails= $translationMdl->find('first', array('conditions'=>array('LOWER(Translation.slug)'=>strtolower($slug),'Translation.status'=>1,'Translation.language_id'=>$defaultLangID)));$model_id=$pagedetails['Translation']['model_id'];$slug = 'my-account' $languageMdl = object(Language) { name => 'Language' useTable => 'can_languages' useDbConfig => 'default' id => false data => array() schemaName => 'cannice_sed' table => 'can_languages' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Language' tableToModel => array( 'can_languages' => 'Language' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( [maximum depth reached] ), 'name' => array( [maximum depth reached] ), 'alias' => array( [maximum depth reached] ), 'name_translation' => array( [maximum depth reached] ), 'default' => array( [maximum depth reached] ), 'status' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } $translationMdl = object(Translation) { name => 'Translation' useTable => 'can_lang_translations' useDbConfig => 'default' id => false data => array() schemaName => 'cannice_sed' table => 'can_lang_translations' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Translation' tableToModel => array( 'can_lang_translations' => 'Translation' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( [maximum depth reached] ), 'model_id' => array( [maximum depth reached] ), 'model_name' => array( [maximum depth reached] ), 'language_id' => array( [maximum depth reached] ), 'name' => array( [maximum depth reached] ), 'slug' => array( [maximum depth reached] ), 'description' => array( [maximum depth reached] ), 'seo_title' => array( [maximum depth reached] ), 'seo_description' => array( [maximum depth reached] ), 'seo_keywords' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'updated' => array( [maximum depth reached] ), 'status' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } $defaultLangID = '1' $pagedetails = array()PagesController::view() - APP/Controller/PagesController.php, line 91 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 117
Notice (8): Trying to access array offset on value of type null [APP/Controller/PagesController.php, line 91]Code Context$defaultLangID = $languageMdl->default_language();$pagedetails= $translationMdl->find('first', array('conditions'=>array('LOWER(Translation.slug)'=>strtolower($slug),'Translation.status'=>1,'Translation.language_id'=>$defaultLangID)));$model_id=$pagedetails['Translation']['model_id'];$slug = 'my-account' $languageMdl = object(Language) { name => 'Language' useTable => 'can_languages' useDbConfig => 'default' id => false data => array() schemaName => 'cannice_sed' table => 'can_languages' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Language' tableToModel => array( 'can_languages' => 'Language' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( [maximum depth reached] ), 'name' => array( [maximum depth reached] ), 'alias' => array( [maximum depth reached] ), 'name_translation' => array( [maximum depth reached] ), 'default' => array( [maximum depth reached] ), 'status' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } $translationMdl = object(Translation) { name => 'Translation' useTable => 'can_lang_translations' useDbConfig => 'default' id => false data => array() schemaName => 'cannice_sed' table => 'can_lang_translations' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Translation' tableToModel => array( 'can_lang_translations' => 'Translation' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( [maximum depth reached] ), 'model_id' => array( [maximum depth reached] ), 'model_name' => array( [maximum depth reached] ), 'language_id' => array( [maximum depth reached] ), 'name' => array( [maximum depth reached] ), 'slug' => array( [maximum depth reached] ), 'description' => array( [maximum depth reached] ), 'seo_title' => array( [maximum depth reached] ), 'seo_description' => array( [maximum depth reached] ), 'seo_keywords' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'updated' => array( [maximum depth reached] ), 'status' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } $defaultLangID = '1' $pagedetails = array()PagesController::view() - APP/Controller/PagesController.php, line 91 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 117
Notice (8): Undefined variable: metadata [APP/Controller/Component/CommonComponent.php, line 186]Code Context$metadata = $translationMdl->find('first', array('fields'=>$field, 'conditions'=>$condition, 'recursive'=>0));}return $metadata;$id = null $modelName = 'Pages'CommonComponent::metadata() - APP/Controller/Component/CommonComponent.php, line 186 PagesController::view() - APP/Controller/PagesController.php, line 92 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 117
Notice (8): Undefined index: Translation [APP/View/Pages/view.ctp, line 1]Code Context?><$viewFile = '/home/cannice/domains/cannice-sports.com/public_html/app/View/Pages/view.ctp' $dataForView = array( 'pagedetails' => array(), 'metadata' => null, 'allCategory' => array( (int) 0 => array( 'id' => '12', 'parent_id' => '0', 'name' => 'Gymnastics', 'slug' => 'Gymnastics', 'children' => array( [maximum depth reached] ) ), (int) 1 => array( 'id' => '14', 'parent_id' => '0', 'name' => 'Parkour', 'slug' => 'Parkour', 'children' => array( [maximum depth reached] ) ) ) ) $pagedetails = array() $metadata = null $allCategory = array( (int) 0 => array( 'id' => '12', 'parent_id' => '0', 'name' => 'Gymnastics', 'slug' => 'Gymnastics', 'children' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'id' => '14', 'parent_id' => '0', 'name' => 'Parkour', 'slug' => 'Parkour', 'children' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ) )include - APP/View/Pages/view.ctp, line 1 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 117
Notice (8): Trying to access array offset on value of type null [APP/View/Pages/view.ctp, line 1]Code Context?><$viewFile = '/home/cannice/domains/cannice-sports.com/public_html/app/View/Pages/view.ctp' $dataForView = array( 'pagedetails' => array(), 'metadata' => null, 'allCategory' => array( (int) 0 => array( 'id' => '12', 'parent_id' => '0', 'name' => 'Gymnastics', 'slug' => 'Gymnastics', 'children' => array( [maximum depth reached] ) ), (int) 1 => array( 'id' => '14', 'parent_id' => '0', 'name' => 'Parkour', 'slug' => 'Parkour', 'children' => array( [maximum depth reached] ) ) ) ) $pagedetails = array() $metadata = null $allCategory = array( (int) 0 => array( 'id' => '12', 'parent_id' => '0', 'name' => 'Gymnastics', 'slug' => 'Gymnastics', 'children' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ) ) ), (int) 1 => array( 'id' => '14', 'parent_id' => '0', 'name' => 'Parkour', 'slug' => 'Parkour', 'children' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ) )include - APP/View/Pages/view.ctp, line 1 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 968 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 117
Copyright © Cannice Sports SEIN
