Notice (8): Undefined index: SubGenre [APP/Model/Chart.php, line 131]Code Context $contain[] = $modelName.'.ChartsAs';
$contain[] = 'Album.Label';
$conditions['Album.sub_genre_for_charting'] = $sub_genre['SubGenre']['id'];
$type = 'album'
$chart_slug = 'bluegrass-gospel'
$term = 'yearly'
$limit = (int) 300
$preview = true
$start = ''
$finish = ''
$modelName = 'Album'
$model = object(AlbumWeeklyStat) {
name => 'AlbumWeeklyStat'
displayField => 'total_spins'
validate => array()
belongsTo => array(
'Album' => array(
[maximum depth reached]
)
)
Echo => array(
'key' => 'B1IJ4UHC3UBZSCP63',
'consumer' => '75620342639f27690d058cce56d57281',
'secret' => 'FuYGgTH1Th2GD6Nzhjv9Nw'
)
seven => array(
'key' => '7dkka2tbdj9s',
'consumer' => 'dp7bb22weybw2v4d'
)
lastfm => array(
'key' => '110ab9e5abf91e571135c49da253f6ef',
'secret' => 'b8bbb71d672712ed290a5026c562cdab'
)
rovi => array(
'key' => 'neevbjpygqb7mjsvfy7thaea',
'secret' => 'P8D448VNZ4'
)
bitly => array(
'key' => '33e78a0ef19298099adcc167657ab96f2b81ee18'
)
useDbConfig => 'default'
useTable => 'album_weekly_stats'
id => false
data => array()
schemaName => null
table => 'album_weekly_stats'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
plugin => null
alias => 'AlbumWeeklyStat'
tableToModel => array(
'album_weekly_stats' => 'AlbumWeeklyStat'
)
cacheQueries => false
hasOne => array()
hasMany => array()
hasAndBelongsToMany => array()
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
[maximum depth reached]
),
'hasOne' => array(
[maximum depth reached]
),
'hasMany' => array(
[maximum depth reached]
),
'hasAndBelongsToMany' => array(
[maximum depth reached]
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => false
[protected] _eventManager => null
[protected] _validator => null
}
$sub_genre_model = object(SubGenre) {
name => 'SubGenre'
displayField => 'name'
validate => array(
'genre_id' => array(
[maximum depth reached]
),
'name' => array(
[maximum depth reached]
)
)
belongsTo => array(
'Genre' => array(
[maximum depth reached]
)
)
hasMany => array(
'Article' => array(
[maximum depth reached]
),
'Review' => array(
[maximum depth reached]
),
'Song' => array(
[maximum depth reached]
),
'ChartsAs' => array(
[maximum depth reached]
)
)
hasAndBelongsToMany => array(
'Album' => array(
[maximum depth reached]
),
'Band' => array(
[maximum depth reached]
),
'RadioStation' => array(
[maximum depth reached]
),
'StaffMember' => array(
[maximum depth reached]
)
)
Echo => array(
'key' => 'B1IJ4UHC3UBZSCP63',
'consumer' => '75620342639f27690d058cce56d57281',
'secret' => 'FuYGgTH1Th2GD6Nzhjv9Nw'
)
seven => array(
'key' => '7dkka2tbdj9s',
'consumer' => 'dp7bb22weybw2v4d'
)
lastfm => array(
'key' => '110ab9e5abf91e571135c49da253f6ef',
'secret' => 'b8bbb71d672712ed290a5026c562cdab'
)
rovi => array(
'key' => 'neevbjpygqb7mjsvfy7thaea',
'secret' => 'P8D448VNZ4'
)
bitly => array(
'key' => '33e78a0ef19298099adcc167657ab96f2b81ee18'
)
useDbConfig => 'default'
useTable => 'sub_genres'
id => false
data => array()
schemaName => 'rootsmus_database'
table => 'sub_genres'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'SubGenre'
tableToModel => array(
'sub_genres' => 'SubGenre'
)
cacheQueries => false
hasOne => array()
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => null
recursive => (int) -1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => array(
'id' => array(
[maximum depth reached]
),
'genre_id' => array(
[maximum depth reached]
),
'name' => array(
[maximum depth reached]
),
'slug' => array(
[maximum depth reached]
),
'chart' => array(
[maximum depth reached]
),
'default' => array(
[maximum depth reached]
),
'created' => array(
[maximum depth reached]
),
'modified' => array(
[maximum depth reached]
)
)
[protected] _associationKeys => array(
'belongsTo' => array(
[maximum depth reached]
),
'hasOne' => array(
[maximum depth reached]
),
'hasMany' => array(
[maximum depth reached]
),
'hasAndBelongsToMany' => array(
[maximum depth reached]
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
$sub_genre = array()
$conditions = array(
'AlbumWeeklyStat.tw_spins >=' => (int) 2,
'AlbumWeeklyStat.tw_stations >=' => (int) 1
)
$contain = array(
(int) 0 => 'Album.Band.State',
(int) 1 => 'Album.Band.Country',
(int) 2 => 'Album.ChartsAs',
(int) 3 => 'Album.Label'
)
Chart::getSubGenrePreviewChart() - APP/Model/Chart.php, line 131
Chart::getChartPreview() - APP/Model/Chart.php, line 81
ChartsController::view() - APP/Controller/ChartsController.php, line 21
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 123
Notice (8): Undefined index: SubGenre [APP/Model/Chart.php, line 96]Code Context $model->recursive = -1;
$name = $model->findBySlug($chart_slug);
return $name['SubGenre']['name'];
$category = 'sub_genre'
$chart_slug = 'bluegrass-gospel'
$model = object(SubGenre) {
name => 'SubGenre'
displayField => 'name'
validate => array(
'genre_id' => array(
[maximum depth reached]
),
'name' => array(
[maximum depth reached]
)
)
belongsTo => array(
'Genre' => array(
[maximum depth reached]
)
)
hasMany => array(
'Article' => array(
[maximum depth reached]
),
'Review' => array(
[maximum depth reached]
),
'Song' => array(
[maximum depth reached]
),
'ChartsAs' => array(
[maximum depth reached]
)
)
hasAndBelongsToMany => array(
'Album' => array(
[maximum depth reached]
),
'Band' => array(
[maximum depth reached]
),
'RadioStation' => array(
[maximum depth reached]
),
'StaffMember' => array(
[maximum depth reached]
)
)
Echo => array(
'key' => 'B1IJ4UHC3UBZSCP63',
'consumer' => '75620342639f27690d058cce56d57281',
'secret' => 'FuYGgTH1Th2GD6Nzhjv9Nw'
)
seven => array(
'key' => '7dkka2tbdj9s',
'consumer' => 'dp7bb22weybw2v4d'
)
lastfm => array(
'key' => '110ab9e5abf91e571135c49da253f6ef',
'secret' => 'b8bbb71d672712ed290a5026c562cdab'
)
rovi => array(
'key' => 'neevbjpygqb7mjsvfy7thaea',
'secret' => 'P8D448VNZ4'
)
bitly => array(
'key' => '33e78a0ef19298099adcc167657ab96f2b81ee18'
)
useDbConfig => 'default'
useTable => 'sub_genres'
id => false
data => array()
schemaName => 'rootsmus_database'
table => 'sub_genres'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'SubGenre'
tableToModel => array(
'sub_genres' => 'SubGenre'
)
cacheQueries => false
hasOne => array()
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => null
recursive => (int) -1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => array(
'id' => array(
[maximum depth reached]
),
'genre_id' => array(
[maximum depth reached]
),
'name' => array(
[maximum depth reached]
),
'slug' => array(
[maximum depth reached]
),
'chart' => array(
[maximum depth reached]
),
'default' => array(
[maximum depth reached]
),
'created' => array(
[maximum depth reached]
),
'modified' => array(
[maximum depth reached]
)
)
[protected] _associationKeys => array(
'belongsTo' => array(
[maximum depth reached]
),
'hasOne' => array(
[maximum depth reached]
),
'hasMany' => array(
[maximum depth reached]
),
'hasAndBelongsToMany' => array(
[maximum depth reached]
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
$name = array()
Chart::getChartName() - APP/Model/Chart.php, line 96
ChartsController::view() - APP/Controller/ChartsController.php, line 27
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 123
Notice (8): Undefined index: SubGenre [APP/Controller/ChartsController.php, line 62]Code Context
$sub_genre = $this->SubGenre->findBySlug($chart_slug);
if($sub_genre['SubGenre']['slug'] === $sub_genre['Genre']['slug']){
$type = 'album'
$category = 'sub_genre'
$chart_slug = 'bluegrass-gospel'
$term = 'yearly'
$start = '2025-01-01'
$finish = '2025-12-30'
$chart = array()
$chart_group = null
$title = 'Top Album Chart'
$subtitle = 'for the Year of 2025'
$facebook = array(
'title' => 'Roots Music Report: Top Album Chart',
'image' => 'http://www.rootsmusicreport.com/img/rmr.icon.png',
'description' => 'Top Album Chart for the Year of 2025'
)
$conditions = array()
$sub_genre = array()
ChartsController::view() - APP/Controller/ChartsController.php, line 62
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 123
Notice (8): Undefined index: Genre [APP/Controller/ChartsController.php, line 62]Code Context
$sub_genre = $this->SubGenre->findBySlug($chart_slug);
if($sub_genre['SubGenre']['slug'] === $sub_genre['Genre']['slug']){
$type = 'album'
$category = 'sub_genre'
$chart_slug = 'bluegrass-gospel'
$term = 'yearly'
$start = '2025-01-01'
$finish = '2025-12-30'
$chart = array()
$chart_group = null
$title = 'Top Album Chart'
$subtitle = 'for the Year of 2025'
$facebook = array(
'title' => 'Roots Music Report: Top Album Chart',
'image' => 'http://www.rootsmusicreport.com/img/rmr.icon.png',
'description' => 'Top Album Chart for the Year of 2025'
)
$conditions = array()
$sub_genre = array()
ChartsController::view() - APP/Controller/ChartsController.php, line 62
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 123