Code Context ->first();
$picture_url = $_SERVER['DOCUMENT_ROOT']."/img/".$user->username.".jpg";
$viewFile = '/home/servidor/dev-investigacion/src/Template/Professors/view.ctp'
$dataForView = [
'userRole' => null,
'userAlias' => null,
'_serialize' => [
(int) 0 => 'professor',
(int) 1 => 'TitulacionesProfesor, areasProfesor'
],
'areasProfesor' => [
(int) 0 => [
'id' => '18',
'name' => 'Ciencias de la Actividad Física y del Deporte',
'description' => 'CIENCIAS DE LA ACTIVIDAD FÍSICA Y DEL DEPORTE',
'created' => '2018-03-08 08:49:17',
'modified' => '2018-03-08 08:49:17'
]
],
'TitulacionesProfesor' => [],
'professor' => object(App\Model\Entity\Professor) {
'id' => (int) 141,
'full_name' => 'Francisco Javier Alcántara Cordero',
'gender' => 'male',
'user_id' => (int) 120,
'active' => true,
'doctor' => false,
'phone' => '',
'category_id' => (int) 1,
'center_id' => null,
'area_id' => '18',
'picture_url' => null,
'manager_role' => '',
'office_hours' => '',
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'orcid' => 'https://orcid.org/0000-0002-5010-5850',
'group_inv' => '',
'subjects' => 'Balonmano I ',
'merits' => '',
'publications' => [[maximum depth reached]],
'projects' => [[maximum depth reached]],
'titulations' => [[maximum depth reached]],
'area' => object(App\Model\Entity\Area) {},
'centers' => [[maximum depth reached]],
'category' => object(App\Model\Entity\Category) {},
'user' => null,
'[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]' => 'Professors'
}
]
$userRole = null
$userAlias = null
$_serialize = [
(int) 0 => 'professor',
(int) 1 => 'TitulacionesProfesor, areasProfesor'
]
$areasProfesor = [
(int) 0 => [
'id' => '18',
'name' => 'Ciencias de la Actividad Física y del Deporte',
'description' => 'CIENCIAS DE LA ACTIVIDAD FÍSICA Y DEL DEPORTE',
'created' => '2018-03-08 08:49:17',
'modified' => '2018-03-08 08:49:17'
]
]
$TitulacionesProfesor = []
$professor = object(App\Model\Entity\Professor) {
'id' => (int) 141,
'full_name' => 'Francisco Javier Alcántara Cordero',
'gender' => 'male',
'user_id' => (int) 120,
'active' => true,
'doctor' => false,
'phone' => '',
'category_id' => (int) 1,
'center_id' => null,
'area_id' => '18',
'picture_url' => null,
'manager_role' => '',
'office_hours' => '',
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'orcid' => 'https://orcid.org/0000-0002-5010-5850',
'group_inv' => '',
'subjects' => 'Balonmano I ',
'merits' => '',
'publications' => [],
'projects' => [],
'titulations' => [],
'area' => object(App\Model\Entity\Area) {},
'centers' => [],
'category' => object(App\Model\Entity\Category) {},
'user' => null,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Professors'
}
$table_users = object(App\Model\Table\UsersTable) {
'registryAlias' => 'users',
'table' => 'users',
'alias' => 'users',
'entityClass' => 'App\Model\Entity\User',
'associations' => [
(int) 0 => 'professors'
],
'behaviors' => [
(int) 0 => 'Timestamp'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$user = null
include - APP/Template/Professors/view.ctp, line 55
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 995
Cake\View\View::_render() - CORE/src/View/View.php, line 955
Cake\View\View::render() - CORE/src/View/View.php, line 587
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 611
Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 120
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87
[main] - ROOT/webroot/index.php, line 37