Code Context
<?php if(count($updates)>0){?>
<div class="updates">
$viewFile = '/var/www/drishtiias.com/public_html/hindi/plugins/Drishti/src/Template/Element/rightsection-refresherprg.ctp'
$dataForView = [
'progress' => [],
'bookmarks' => [],
'notes' => [],
'mynote' => [],
'searchdata' => [],
'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) {}
],
'correct' => '[]',
'questions' => [],
'title' => 'PRELIMS REFRESHER PROGRAM 2020',
'seourl' => null
]
$progress = []
$bookmarks = []
$notes = []
$mynote = []
$searchdata = []
$topdata = [
(int) 0 => object(Cake\ORM\Entity) {
'title' => 'UPSC CSE Mains 2024 Result - Namewise List',
'url' => 'https://www.drishtiias.com/hindi/pdf/1733752458_WR-CSM-24-NameList-Engl-091224.pdf',
'date' => object(Cake\I18n\FrozenDate) {},
'type' => (int) 1,
'[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) {
'title' => 'UPSC CSE Mains 2024 Result - Roll Number List',
'url' => 'https://www.drishtiias.com/hindi/pdf/1733752458_WR-CSM-24-RollList-Engl-091224.pdf',
'date' => object(Cake\I18n\FrozenDate) {},
'type' => (int) 1,
'[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) {
'title' => 'Sambhav 2025',
'url' => 'https://www.drishtiias.com/hindi/pcs-parikshan',
'date' => object(Cake\I18n\FrozenDate) {},
'type' => (int) 1,
'[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) {
'title' => ' UPSC Calendar 2025',
'url' => 'https://www.drishtiias.com/hindi/pdf/1714045234_Calendar-Year-2025.pdf',
'date' => object(Cake\I18n\FrozenDate) {},
'type' => (int) 1,
'[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'
}
]
$correct = '[]'
$questions = []
$title = 'PRELIMS REFRESHER PROGRAM 2020'
$seourl = null
$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 168
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