Warning (2): Invalid argument supplied for foreach() [ROOT/templates/Pages/pictures.php, line 108]Code Context <?php
foreach($rallys as $rally) {
$rally_pieces = explode('|', $rally);
$templateFile =
'/home/survivo4/public_html/templates/Pages/pictures.php'
$dataForView = [
'page' => 'pictures',
'subpage' => null,
]
$bufferLevel = (int) 1
$page = 'pictures'
$subpage = null
$teams_class = object(App\Model\Table\TeamsTable) id:0 {
'registryAlias' => 'Teams'
'table' => 'teams'
'alias' => 'Teams'
'entityClass' => 'App\Model\Entity\Team'
'associations' => [
(int) 0 => 'Rallys',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
connection => object(Cake\Database\Connection) id:1 {
}
protected _table => 'teams'
protected _alias => 'Teams'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => null
protected _primaryKey => 'team_id'
protected _displayField => 'team_id'
protected _associations => object(Cake\ORM\AssociationCollection) id:2 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:3 {
}
protected _entityClass => 'App\Model\Entity\Team'
protected _registryAlias => 'Teams'
protected _eventManager => object(Cake\Event\EventManager) id:4 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
}
$teams = [
'team_id' => '39',
'rally_id' => '2',
'team_number' => '64',
'team_name' => 'Team JoeyClean',
'filename_display' => '',
'filename_thumb' => '',
'donations' => '0',
'donors' => '0',
'goal' => '0',
]
$uploads_class = object(App\Model\Table\UploadsTable) id:0 {
'registryAlias' => 'Uploads'
'table' => 'uploads'
'alias' => 'Uploads'
'entityClass' => 'App\Model\Entity\Upload'
'associations' => [
(int) 0 => 'Users',
(int) 1 => 'Rallys',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
connection => object(Cake\Database\Connection) id:1 {
}
protected _table => 'uploads'
protected _alias => 'Uploads'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => null
protected _primaryKey => 'upload_id'
protected _displayField => 'upload_id'
protected _associations => object(Cake\ORM\AssociationCollection) id:2 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:3 {
}
protected _entityClass => 'App\Model\Entity\Upload'
protected _registryAlias => 'Uploads'
protected _eventManager => object(Cake\Event\EventManager) id:4 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
}
$input = [
'team_id' => '39',
'upload_type' => (int) 3,
'quantity' => (int) 1,
]
$profile_pic = [
]
$rallys = false
$team_pic = [
]
include - ROOT/templates/Pages/pictures.php, line 108
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1176
Cake\View\View::_render() - CORE/src/View/View.php, line 1134
Cake\View\View::render() - CORE/src/View/View.php, line 764
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 696
App\Controller\PagesController::display() - APP/Controller/PagesController.php, line 67
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 146
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 122
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 166
Warning (2): Invalid argument supplied for foreach() [ROOT/templates/Pages/pictures.php, line 116]Code Context<?php
foreach($rallys as $rally) {
$rally_pieces = explode('|', $rally);
$templateFile = '/home/survivo4/public_html/templates/Pages/pictures.php'
$dataForView = [
'page' => 'pictures',
'subpage' => null,
]
$bufferLevel = (int) 1
$page = 'pictures'
$subpage = null
$teams_class = object(App\Model\Table\TeamsTable) id:0 {
'registryAlias' => 'Teams'
'table' => 'teams'
'alias' => 'Teams'
'entityClass' => 'App\Model\Entity\Team'
'associations' => [
(int) 0 => 'Rallys',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
connection => object(Cake\Database\Connection) id:1 {
}
protected _table => 'teams'
protected _alias => 'Teams'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => null
protected _primaryKey => 'team_id'
protected _displayField => 'team_id'
protected _associations => object(Cake\ORM\AssociationCollection) id:2 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:3 {
}
protected _entityClass => 'App\Model\Entity\Team'
protected _registryAlias => 'Teams'
protected _eventManager => object(Cake\Event\EventManager) id:4 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
}
$teams = [
'team_id' => '39',
'rally_id' => '2',
'team_number' => '64',
'team_name' => 'Team JoeyClean',
'filename_display' => '',
'filename_thumb' => '',
'donations' => '0',
'donors' => '0',
'goal' => '0',
]
$uploads_class = object(App\Model\Table\UploadsTable) id:0 {
'registryAlias' => 'Uploads'
'table' => 'uploads'
'alias' => 'Uploads'
'entityClass' => 'App\Model\Entity\Upload'
'associations' => [
(int) 0 => 'Users',
(int) 1 => 'Rallys',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
connection => object(Cake\Database\Connection) id:1 {
}
protected _table => 'uploads'
protected _alias => 'Uploads'
protected _connection => object(Cake\Database\Connection) id: 1 {}
protected _schema => null
protected _primaryKey => 'upload_id'
protected _displayField => 'upload_id'
protected _associations => object(Cake\ORM\AssociationCollection) id:2 {
}
protected _behaviors => object(Cake\ORM\BehaviorRegistry) id:3 {
}
protected _entityClass => 'App\Model\Entity\Upload'
protected _registryAlias => 'Uploads'
protected _eventManager => object(Cake\Event\EventManager) id:4 {
}
protected _eventClass => 'Cake\Event\Event'
protected _rulesChecker => null
protected _validatorClass => 'Cake\Validation\Validator'
protected _validators => [
]
}
$input = [
'team_id' => '39',
'upload_type' => (int) 3,
'quantity' => (int) 1,
]
$profile_pic = [
]
$rallys = false
$team_pic = [
]
include - ROOT/templates/Pages/pictures.php, line 116
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1176
Cake\View\View::_render() - CORE/src/View/View.php, line 1134
Cake\View\View::render() - CORE/src/View/View.php, line 764
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 696
App\Controller\PagesController::display() - APP/Controller/PagesController.php, line 67
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 146
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 122
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 166