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) {},
(int) 6 => object(Cake\ORM\Entity) {},
(int) 7 => object(Cake\ORM\Entity) {},
(int) 8 => object(Cake\ORM\Entity) {},
(int) 9 => object(Cake\ORM\Entity) {},
(int) 10 => object(Cake\ORM\Entity) {},
(int) 11 => 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/mains-marathon-2024',
'title' => 'Mains Marathon 2024',
'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/1719898293_IFoSP_2024_WR_Eng_01072024_240701_184308.pdf',
'title' => 'UPSC IFoS Prelims Result 2024',
'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/pdf/1719840058_WR-CSP-24-RollList-Engl-010724_240701_184236.pdf',
'title' => 'UPSC CSE Prelims Result 2024',
'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/pdf/1718558579_UPSC%20Pre%20CSAT%20(Answer%20Key)_English_240616_225002.pdf',
'title' => 'UPSC Prelims 2024 CSAT (Answer Key)',
'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/pdf/1718712229_Revised_UPSC%20GS%20Paper-I_2024_English_Answer_Key.pdf',
'title' => 'Revised Answer Key UPSC Prelims 2024 GS 1 ',
'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/1718559311_CSE-2024%20Prelims%20CSAT%20Paper%20(B).pdf',
'title' => 'UPSC Prelims 2024 CSAT',
'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) 6 => object(Cake\ORM\Entity) {
'url' => 'https://www.drishtiias.com/hindi/pdf/1718537625_upsc-pre-2024-GS-(B).pdf',
'title' => ' UPSC Prelims 2024 GS 1',
'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) 7 => object(Cake\ORM\Entity) {
'url' => 'https://www.drishtiias.com/mains-test-series',
'title' => 'Mains Test Series scheduled to begin from 9th June, 2024 has been postponed as UPSC CSE Preliminary exam was moved forward due to Lok Sabha elections of 2024. ',
'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) 8 => 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'
},
(int) 9 => object(Cake\ORM\Entity) {
'url' => 'https://www.drishtiias.com/pdf/1713256642_UPSC%20results%202023.pdf',
'title' => 'Final Result - Civil Services Examination 2023',
'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) 10 => object(Cake\ORM\Entity) {
'url' => 'https://www.drishtiias.com/pdf/1707904639_IFoS2024-E.pdf',
'title' => 'UPSC IFOS Notification - 2024',
'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) 11 => object(Cake\ORM\Entity) {
'url' => 'https://www.drishtiias.com/pdf/1707900159_CSP2024-E.pdf',
'title' => 'UPSC CSE Notification 2024',
'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