Code Context
<?php if(count($updates)>0){?>
<div class="updates">
$viewFile = '/var/www/drishtiias.com/public_html/plugins/Drishti/src/Template/Element/rightsection-refresherprg.ctp'
$dataForView = [
'progress' => [],
'bookmarks' => [],
'notes' => [],
'mynote' => [],
'topdata' => [
(int) 0 => object(Cake\ORM\Entity) {},
(int) 1 => object(Cake\ORM\Entity) {},
(int) 2 => object(Cake\ORM\Entity) {},
(int) 3 => object(Cake\ORM\Entity) {},
(int) 4 => object(Cake\ORM\Entity) {},
(int) 5 => object(Cake\ORM\Entity) {}
],
'searchdata' => [],
'correct' => '[]',
'questions' => [],
'seourl' => 'about-us'
]
$progress = []
$bookmarks = []
$notes = []
$mynote = []
$topdata = [
(int) 0 => object(Cake\ORM\Entity) {
'url' => 'https://www.drishtiias.com/pdf/1738065534_Open_PDF.pdf',
'title' => 'UPPSC Exam Calendar 2025',
'type' => (int) 1,
'date' => object(Cake\I18n\FrozenDate) {},
'[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]' => 'news'
},
(int) 1 => object(Cake\ORM\Entity) {
'url' => 'https://www.drishtiias.com/hindi/pdf/1737553769_Notif-CSP-2025-Engl-220125.pdf',
'title' => 'Notification: UPSC CSE 2025',
'type' => (int) 1,
'date' => object(Cake\I18n\FrozenDate) {},
'[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]' => 'news'
},
(int) 2 => object(Cake\ORM\Entity) {
'url' => 'https://www.drishtiias.com/sambhav-2025',
'title' => 'Sambhav 2025',
'type' => (int) 1,
'date' => object(Cake\I18n\FrozenDate) {},
'[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]' => 'news'
},
(int) 3 => object(Cake\ORM\Entity) {
'url' => 'https://www.drishtiias.com/prelims-test-series',
'title' => 'UPSC CSE Prelims Test Series 2025 ',
'type' => (int) 1,
'date' => object(Cake\I18n\FrozenDate) {},
'[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]' => 'news'
},
(int) 4 => object(Cake\ORM\Entity) {
'url' => 'https://www.drishtiias.com/pcs-parikshan',
'title' => 'PCS Parikshan',
'type' => (int) 1,
'date' => object(Cake\I18n\FrozenDate) {},
'[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]' => 'news'
},
(int) 5 => object(Cake\ORM\Entity) {
'url' => 'https://www.drishtiias.com/pdf/1717139810_Calendar-Year-2025-engl-250424.pdf',
'title' => 'UPSC Calendar 2025',
'type' => (int) 1,
'date' => object(Cake\I18n\FrozenDate) {},
'[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]' => 'news'
}
]
$searchdata = []
$correct = '[]'
$questions = []
$seourl = 'about-us'
$php_errormsg = 'Undefined variable: updates'
include - ROOT/plugins/Drishti/src/Template/Element/rightsection-refresherprg.ctp, line 42
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1196
Cake\View\View::_render() - CORE/src/View/View.php, line 1157
Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1554
Cake\View\View::element() - CORE/src/View/View.php, line 668
include - ROOT/plugins/Drishti/src/Template/Quiz/articlequizengine.ctp, line 173
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1196
Cake\View\View::_render() - CORE/src/View/View.php, line 1157
Cake\View\View::render() - CORE/src/View/View.php, line 765
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 623
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 125
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 108
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 104
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88