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) {}
],
'title' => 'Downloads'
]
$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'
}
]
$title = 'Downloads'
$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);'
$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>'
]
]
$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>'
]
]
$addSense_data_val = [
'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>'
]
$php_errormsg = 'Undefined variable: downloadscat'
include - ROOT/plugins/Drishti/src/Template/Downloads/index.ctp, line 90
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