Нов тест от админ
0
0
0
Автор: Notice (8): Trying to get property of non-object [APP/Template/Sports/view.ctp, line 5]
<div class="large-11 columns">
<h1 class="mbs"><?= h($sport->title) ?> <span class="social-figs"><?= $this->Html->image('i_h.png'); ?> <?= $sport->q1 ?> <?= $this->Html->image('i_like.png'); ?> <?= $sport->q2 ?> <?= $this->Html->image('i_nolike.png'); ?> <?= $sport->q3 ?></span></h1>
<p class="author"><em><?= __('Author:') ?></em> <strong><?= $sport->user->name ? $sport->user->name : $sport->user->username; ?></strong> <span>(<?= __("Entered {0} sports", [$num_sports]) ?>)</span></p>$viewFile = '/home/sporuipu/public_html/dev/src/Template/Sports/view.ctp'
$dataForView = [
'num_sports' => (int) 1,
'videos' => [],
'_serialize' => [
(int) 0 => 'sport'
],
'sport' => object(App\Model\Entity\Sport) {
'id' => (int) 8,
'title' => 'Нов тест от админ',
'is_published' => true,
'image' => null,
'image_dir' => null,
'main_content' => '<p>цвжеж</p>',
'interesting' => '',
'rules' => '',
'advantages' => '',
'q1' => (int) 0,
'q2' => (int) 0,
'q3' => (int) 0,
'page_title' => 'Нов тест от админ',
'meta_description' => 'цвжеж',
'slug' => 'nov-test-ot-admin',
'user_id' => (int) 4,
'created' => object(Cake\I18n\Time) {},
'modified' => object(Cake\I18n\Time) {},
'sexes' => [
[maximum depth reached]
],
'disabilities' => [[maximum depth reached]],
'categories' => [
[maximum depth reached]
],
'benefits' => [[maximum depth reached]],
'ages' => [[maximum depth reached]],
'user' => null,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[repository]' => 'Sports'
}
]
$num_sports = (int) 1
$videos = []
$_serialize = [
(int) 0 => 'sport'
]
$sport = object(App\Model\Entity\Sport) {
'id' => (int) 8,
'title' => 'Нов тест от админ',
'is_published' => true,
'image' => null,
'image_dir' => null,
'main_content' => '<p>цвжеж</p>',
'interesting' => '',
'rules' => '',
'advantages' => '',
'q1' => (int) 0,
'q2' => (int) 0,
'q3' => (int) 0,
'page_title' => 'Нов тест от админ',
'meta_description' => 'цвжеж',
'slug' => 'nov-test-ot-admin',
'user_id' => (int) 4,
'created' => object(Cake\I18n\Time) {},
'modified' => object(Cake\I18n\Time) {},
'sexes' => [
(int) 0 => object(App\Model\Entity\Sex) {}
],
'disabilities' => [],
'categories' => [
(int) 0 => object(App\Model\Entity\Category) {}
],
'benefits' => [],
'ages' => [],
'user' => null,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[repository]' => 'Sports'
}include - APP/Template/Sports/view.ctp, line 5
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 971
Cake\View\View::_render() - CORE/src/View/View.php, line 931
Cake\View\View::render() - CORE/src/View/View.php, line 579
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
Notice (8): Trying to get property of non-object [APP/Template/Sports/view.ctp, line 5]
(Въвел 1 спорта) <div class="large-11 columns">
<h1 class="mbs"><?= h($sport->title) ?> <span class="social-figs"><?= $this->Html->image('i_h.png'); ?> <?= $sport->q1 ?> <?= $this->Html->image('i_like.png'); ?> <?= $sport->q2 ?> <?= $this->Html->image('i_nolike.png'); ?> <?= $sport->q3 ?></span></h1>
<p class="author"><em><?= __('Author:') ?></em> <strong><?= $sport->user->name ? $sport->user->name : $sport->user->username; ?></strong> <span>(<?= __("Entered {0} sports", [$num_sports]) ?>)</span></p>$viewFile = '/home/sporuipu/public_html/dev/src/Template/Sports/view.ctp'
$dataForView = [
'num_sports' => (int) 1,
'videos' => [],
'_serialize' => [
(int) 0 => 'sport'
],
'sport' => object(App\Model\Entity\Sport) {
'id' => (int) 8,
'title' => 'Нов тест от админ',
'is_published' => true,
'image' => null,
'image_dir' => null,
'main_content' => '<p>цвжеж</p>',
'interesting' => '',
'rules' => '',
'advantages' => '',
'q1' => (int) 0,
'q2' => (int) 0,
'q3' => (int) 0,
'page_title' => 'Нов тест от админ',
'meta_description' => 'цвжеж',
'slug' => 'nov-test-ot-admin',
'user_id' => (int) 4,
'created' => object(Cake\I18n\Time) {},
'modified' => object(Cake\I18n\Time) {},
'sexes' => [
[maximum depth reached]
],
'disabilities' => [[maximum depth reached]],
'categories' => [
[maximum depth reached]
],
'benefits' => [[maximum depth reached]],
'ages' => [[maximum depth reached]],
'user' => null,
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[repository]' => 'Sports'
}
]
$num_sports = (int) 1
$videos = []
$_serialize = [
(int) 0 => 'sport'
]
$sport = object(App\Model\Entity\Sport) {
'id' => (int) 8,
'title' => 'Нов тест от админ',
'is_published' => true,
'image' => null,
'image_dir' => null,
'main_content' => '<p>цвжеж</p>',
'interesting' => '',
'rules' => '',
'advantages' => '',
'q1' => (int) 0,
'q2' => (int) 0,
'q3' => (int) 0,
'page_title' => 'Нов тест от админ',
'meta_description' => 'цвжеж',
'slug' => 'nov-test-ot-admin',
'user_id' => (int) 4,
'created' => object(Cake\I18n\Time) {},
'modified' => object(Cake\I18n\Time) {},
'sexes' => [
(int) 0 => object(App\Model\Entity\Sex) {}
],
'disabilities' => [],
'categories' => [
(int) 0 => object(App\Model\Entity\Category) {}
],
'benefits' => [],
'ages' => [],
'user' => null,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[repository]' => 'Sports'
}include - APP/Template/Sports/view.ctp, line 5
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 971
Cake\View\View::_render() - CORE/src/View/View.php, line 931
Cake\View\View::render() - CORE/src/View/View.php, line 579
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
цвжеж
Правила на спорта
Ползи от спорта
Анкета
Пол
- Всички


Вход