Code Context <button class="close"></button>
<?php if(sizeof($categories)>0){?>
<div class="category">
$viewFile = '/var/www/drishtiias.com/public_html/plugins/Drishti/src/Template/Medias/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) {}
],
'searchdata' => [],
'categories' => object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT mediacategories.category_id AS `mediacategories__category_id`, mediacategories.name AS `mediacategories__name`, mediacategories.posturl AS `mediacategories__posturl`, mediacategories.status AS `mediacategories__status`, mediacategories.addedby AS `mediacategories__addedby`, mediacategories.updated AS `mediacategories__updated`, mediacategories.added AS `mediacategories__added`, mediacategories.modified AS `mediacategories__modified` FROM mediacategories mediacategories WHERE status = :c0 ORDER BY category_id desc',
'params' => [
[maximum depth reached]
],
'defaultTypes' => [
[maximum depth reached]
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [[maximum depth reached]],
'matching' => [[maximum depth reached]],
'extraOptions' => [[maximum depth reached]],
'repository' => object(Cake\ORM\Table) {}
},
'albums' => [
(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) {}
],
'updates' => [
(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) {}
],
'amonth' => '',
'ayear' => '',
'title' => 'Album List'
]
$progress = []
$bookmarks = []
$notes = []
$mynote = []
$topdata = [
(int) 0 => object(Cake\ORM\Entity) {
'url' => 'https://www.drishtiias.com/estore/test-series-en/upsc-mains-english/sociology-optional-mains-online-en',
'title' => 'Sociology Mains Test Series 2020 - Join Now',
'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/estore/test-series-en/upsc-prelims-english/prelims-test-series-2021-online',
'title' => 'Prelims Test Series 2021 (Online) - Join Now',
'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://bit.ly/drishtibooks',
'title' => 'Get Drishti Publications books & magazines on Amazon - click here!',
'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://bit.ly/joindrishti',
'title' => 'Click here for Online Inquiry form to join Drishti IAS programmes',
'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 = []
$categories = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT mediacategories.category_id AS `mediacategories__category_id`, mediacategories.name AS `mediacategories__name`, mediacategories.posturl AS `mediacategories__posturl`, mediacategories.status AS `mediacategories__status`, mediacategories.addedby AS `mediacategories__addedby`, mediacategories.updated AS `mediacategories__updated`, mediacategories.added AS `mediacategories__added`, mediacategories.modified AS `mediacategories__modified` FROM mediacategories mediacategories WHERE status = :c0 ORDER BY category_id desc',
'params' => [
':c0' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'mediacategories__category_id' => 'integer',
'mediacategories.category_id' => 'integer',
'category_id' => 'integer',
'mediacategories__name' => 'string',
'mediacategories.name' => 'string',
'name' => 'string',
'mediacategories__posturl' => 'string',
'mediacategories.posturl' => 'string',
'posturl' => 'string',
'mediacategories__status' => 'integer',
'mediacategories.status' => 'integer',
'status' => 'integer',
'mediacategories__addedby' => 'integer',
'mediacategories.addedby' => 'integer',
'addedby' => 'integer',
'mediacategories__updated' => 'integer',
'mediacategories.updated' => 'integer',
'updated' => 'integer',
'mediacategories__added' => 'timestamp',
'mediacategories.added' => 'timestamp',
'added' => 'timestamp',
'mediacategories__modified' => 'timestamp',
'mediacategories.modified' => 'timestamp',
'modified' => 'timestamp'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(Cake\ORM\Table) {}
}
$albums = [
(int) 0 => object(Cake\ORM\Entity) {
'listimage' => 'Places In News.jpg',
'album_id' => (int) 20,
'category_id' => (int) 10,
'albumtitle' => 'Places In News',
'posturl' => 'places-in-news',
'added' => object(Cake\I18n\FrozenTime) {},
'name' => 'Drishti IAS YouTube Channel',
'visits' => '0',
'[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]' => 'mediaalbums'
},
(int) 1 => object(Cake\ORM\Entity) {
'listimage' => 'Study Plan.jpg',
'album_id' => (int) 21,
'category_id' => (int) 10,
'albumtitle' => 'Study Plan',
'posturl' => 'study-plan',
'added' => object(Cake\I18n\FrozenTime) {},
'name' => 'Drishti IAS YouTube Channel',
'visits' => '0',
'[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]' => 'mediaalbums'
},
(int) 2 => object(Cake\ORM\Entity) {
'listimage' => 'UPSC Mock Interview-1.jpg',
'album_id' => (int) 22,
'category_id' => (int) 10,
'albumtitle' => 'UPSC Mock Interview',
'posturl' => 'mock-interview',
'added' => object(Cake\I18n\FrozenTime) {},
'name' => 'Drishti IAS YouTube Channel',
'visits' => '0',
'[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]' => 'mediaalbums'
},
(int) 3 => object(Cake\ORM\Entity) {
'listimage' => 'Random.jpg',
'album_id' => (int) 23,
'category_id' => (int) 10,
'albumtitle' => 'Interview Insights',
'posturl' => 'interview-insights',
'added' => object(Cake\I18n\FrozenTime) {},
'name' => 'Drishti IAS YouTube Channel',
'visits' => '0',
'[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]' => 'mediaalbums'
},
(int) 4 => object(Cake\ORM\Entity) {
'listimage' => 'Random.jpg',
'album_id' => (int) 24,
'category_id' => (int) 10,
'albumtitle' => 'Product Promos',
'posturl' => 'product-promos',
'added' => object(Cake\I18n\FrozenTime) {},
'name' => 'Drishti IAS YouTube Channel',
'visits' => '0',
'[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]' => 'mediaalbums'
},
(int) 5 => object(Cake\ORM\Entity) {
'listimage' => 'Ethics-1.jpg',
'album_id' => (int) 25,
'category_id' => (int) 10,
'albumtitle' => 'Ethics - Definition & Concepts',
'posturl' => 'ethics-definition-and-concept',
'added' => object(Cake\I18n\FrozenTime) {},
'name' => 'Drishti IAS YouTube Channel',
'visits' => '0',
'[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]' => 'mediaalbums'
},
(int) 6 => object(Cake\ORM\Entity) {
'listimage' => 'Random.jpg',
'album_id' => (int) 26,
'category_id' => (int) 10,
'albumtitle' => 'PCS Mock Interview',
'posturl' => 'pcs-mock-interview',
'added' => object(Cake\I18n\FrozenTime) {},
'name' => 'Drishti IAS YouTube Channel',
'visits' => '0',
'[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]' => 'mediaalbums'
},
(int) 7 => object(Cake\ORM\Entity) {
'listimage' => 'Prelims.jpg',
'album_id' => (int) 27,
'category_id' => (int) 10,
'albumtitle' => 'Prelims 2019',
'posturl' => 'prelims-2019',
'added' => object(Cake\I18n\FrozenTime) {},
'name' => 'Drishti IAS YouTube Channel',
'visits' => '0',
'[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]' => 'mediaalbums'
},
(int) 8 => object(Cake\ORM\Entity) {
'listimage' => 'Mastering Mains Answer Writing-1.jpg',
'album_id' => (int) 28,
'category_id' => (int) 10,
'albumtitle' => 'Mastering Mains Answer Writing',
'posturl' => 'mastering-mains-answer-writing',
'added' => object(Cake\I18n\FrozenTime) {},
'name' => 'Drishti IAS YouTube Channel',
'visits' => '0',
'[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]' => 'mediaalbums'
},
(int) 9 => object(Cake\ORM\Entity) {
'listimage' => 'Strategy by Toppers.jpg',
'album_id' => (int) 29,
'category_id' => (int) 10,
'albumtitle' => 'Strategy By Toppers',
'posturl' => 'strategy-by-toppers',
'added' => object(Cake\I18n\FrozenTime) {},
'name' => 'Drishti IAS YouTube Channel',
'visits' => '0',
'[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]' => 'mediaalbums'
}
]
$updates = [
(int) 0 => object(Cake\ORM\Entity) {
'title' => 'UPSC Mains 2020 Paper Discussion by Drishti IAS | Geography + Environment + Disaster Management – Watch On YouTube',
'date' => object(Cake\I18n\FrozenDate) {},
'url' => 'https://www.youtube.com/watch?v=6CnHqP1ADYg',
'[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 2020 Paper Discussion by Drishti IAS | Science & Technology – Watch On YouTube',
'date' => object(Cake\I18n\FrozenDate) {},
'url' => 'https://www.youtube.com/watch?v=tscdSD9_fLY',
'[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' => 'Today's GK - January 16, 2021 | Drishti IAS English – Watch On YouTube',
'date' => object(Cake\I18n\FrozenDate) {},
'url' => 'https://www.youtube.com/watch?v=KRj9FTVbrzo',
'[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' => 'The Kalapani Dispute - In News – Watch On YouTube',
'date' => object(Cake\I18n\FrozenDate) {},
'url' => 'https://www.youtube.com/watch?v=6RkVYSo7u3A',
'[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' => 'Russia’s Withdrawal from ‘Open Skies Treaty’: Simplified – Watch On YouTube',
'date' => object(Cake\I18n\FrozenDate) {},
'url' => 'https://www.youtube.com/watch?v=yIAD3JlkYuk',
'[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' => 'MindMaps for UPSC - Solid Waste Management (Environment) – Watch On YouTube',
'date' => object(Cake\I18n\FrozenDate) {},
'url' => 'https://www.youtube.com/watch?v=2lA37pED8Kw',
'[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) {
'title' => 'All About COVID-19 Vaccination Drive: Simplified – Watch On YouTube',
'date' => object(Cake\I18n\FrozenDate) {},
'url' => 'https://www.youtube.com/watch?v=K95id8fVATk',
'[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) {
'title' => 'TTP on El Nino and La Nina',
'date' => object(Cake\I18n\FrozenDate) {},
'url' => 'https://www.drishtiias.com/to-the-points/paper1/el-nino-and-la-nina',
'[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) {
'title' => 'India Map : January (I) 2021',
'date' => object(Cake\I18n\FrozenDate) {},
'url' => 'https://www.drishtiias.com/learning-through-map/100',
'[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) {
'title' => 'Editorial on Indian Diaspora',
'date' => object(Cake\I18n\FrozenDate) {},
'url' => 'https://www.drishtiias.com/current-affairs-news-analysis-editorials/news-editorials/2021-01-16',
'[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'
}
]
$amonth = ''
$ayear = ''
$title = 'Album List'
$album = object(Cake\ORM\Entity) {
'listimage' => 'Strategy by Toppers.jpg',
'album_id' => (int) 29,
'category_id' => (int) 10,
'albumtitle' => 'Strategy By Toppers',
'posturl' => 'strategy-by-toppers',
'added' => object(Cake\I18n\FrozenTime) {},
'name' => 'Drishti IAS YouTube Channel',
'visits' => '0',
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'mediaalbums'
}
include - ROOT/plugins/Drishti/src/Template/Medias/index.ctp, line 77
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