Code Context <article class="mcq">
<?php if(sizeof($downloadscat)>0) { ?>
<div class="row downloadcat">
$viewFile = '/var/www/drishtiias.com/public_html/hindi/plugins/Drishti/src/Template/Downloads/index.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) {},
(int) 4 => object(Cake\ORM\Entity) {},
(int) 5 => object(Cake\ORM\Entity) {}
],
'title' => 'Downloads'
]
$progress = []
$bookmarks = []
$notes = []
$mynote = []
$searchdata = []
$topdata = [
(int) 0 => object(Cake\ORM\Entity) {
'title' => 'UPSC Mains 2024: GS Paper III',
'url' => 'https://www.drishtiias.com/hindi/images/pdf/UPSC-mains-2024-Paper-III.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 Mains 2024: GS Paper IV',
'url' => 'https://www.drishtiias.com/hindi/images/pdf/UPSC-mains-2024-Paper-IV.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' => 'UPSC Mains 2024: GS Paper II',
'url' => 'https://www.drishtiias.com/hindi/images/pdf/UPSC-mains-2024-Paper-II.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) 3 => object(Cake\ORM\Entity) {
'title' => 'UPSC Mains 2024: GS Paper I',
'url' => 'https://www.drishtiias.com/hindi/images/pdf/UPSC-mains-2024-Paper-I.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) 4 => object(Cake\ORM\Entity) {
'title' => 'UPSC Mains 2024: Essay Paper',
'url' => 'https://www.drishtiias.com/hindi/pdf/1726826358_UPSC-Mains-2024_Essay-Paper%202.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) 5 => 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'
}
]
$title = 'Downloads'
$php_errormsg = 'Undefined variable: downloadscat'
include - ROOT/plugins/Drishti/src/Template/Downloads/index.ctp, line 32
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
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 81