Code Context <article class="mcq">
<?php if(sizeof($downloadscat)>0) { ?>
<div class="row downloadcat">
$viewFile = '/var/www/drishtiias.com/public_html/plugins/Drishti/src/Template/Downloads/index.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' => [],
'title' => 'Downloads',
'minibanners' => [],
'banners' => []
]
$progress = []
$bookmarks = []
$notes = []
$mynote = []
$topdata = [
(int) 0 => object(Cake\ORM\Entity) {
'url' => 'https://www.drishtiias.com/pdf/1733751030_WR-CSM-24-RollList-Engl-091224.pdf',
'title' => 'UPSC CSE Mains 2024 Result - Roll Number List',
'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/pdf/1733751009_WR-CSM-24-NameList-Engl-091224.pdf',
'title' => 'UPSC CSE Mains 2024 Result - Namewise List',
'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 = []
$title = 'Downloads'
$minibanners = []
$banners = []
$conn = object(Cake\Database\Connection) {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'encoding' => 'utf8',
'timezone' => '',
'flags' => [[maximum depth reached]],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'url' => null,
'timeout' => (int) 5,
'name' => 'default'
],
'driver' => object(Cake\Database\Driver\Mysql) {},
'transactionLevel' => (int) 0,
'transactionStarted' => false,
'useSavePoints' => false,
'logQueries' => false,
'logger' => null
}
$sql = 'select `id`,`status`,`snippet` from `google_addsense_divs` where id in (14,15,16);'
$sql_exec = object(Cake\Database\Statement\MysqlStatement) {
[protected] _statement => object(PDOStatement) {}
[protected] _driver => object(Cake\Database\Driver\Mysql) {}
[protected] _hasExecuted => false
[protected] _bufferResults => true
}
$addSense_data = [
(int) 0 => [
'id' => '14',
'status' => '1',
'snippet' => '<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4105321775414527"
crossorigin="anonymous"></script>
<!-- Fix Horizontal Ad -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-4105321775414527"
data-ad-slot="8042576975"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>'
],
(int) 1 => [
'id' => '15',
'status' => '1',
'snippet' => '<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4105321775414527"
crossorigin="anonymous"></script>
<!-- Fix square ad for -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-4105321775414527"
data-ad-slot="3381147352"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>'
],
(int) 2 => [
'id' => '16',
'status' => '1',
'snippet' => '<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4105321775414527"
crossorigin="anonymous"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-format="autorelaxed"
data-ad-client="ca-pub-4105321775414527"
data-ad-slot="6456587358"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
'
]
]
$addSense_final_data = [
(int) 14 => [
'status' => '1',
'snippet' => '<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4105321775414527"
crossorigin="anonymous"></script>
<!-- Fix Horizontal Ad -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-4105321775414527"
data-ad-slot="8042576975"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>'
],
(int) 15 => [
'status' => '1',
'snippet' => '<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4105321775414527"
crossorigin="anonymous"></script>
<!-- Fix square ad for -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-4105321775414527"
data-ad-slot="3381147352"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>'
],
(int) 16 => [
'status' => '1',
'snippet' => '<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4105321775414527"
crossorigin="anonymous"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-format="autorelaxed"
data-ad-client="ca-pub-4105321775414527"
data-ad-slot="6456587358"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
'
]
]
$addSense_data_val = [
'id' => '16',
'status' => '1',
'snippet' => '<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4105321775414527"
crossorigin="anonymous"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-format="autorelaxed"
data-ad-client="ca-pub-4105321775414527"
data-ad-slot="6456587358"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
'
]
$php_errormsg = 'Undefined variable: downloadscat'
include - ROOT/plugins/Drishti/src/Template/Downloads/index.ctp, line 142
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