Warning (2): Invalid argument supplied for foreach() [APP/Template/Element/galeria.ctp, line 12]Code Context <div class="galeriaContent flex">
<?php foreach ($galerias as $key => $foto): ?>
<a href="<?= $foto['path'].$foto['imagen'] ?>" class="linkImage" rel="rel1">
$viewFile = '/data/www/html/prod/invitacionamifiesta/invitacionamifiesta_jesusenrique/src/src/Template/Element/galeria.ctp'
$dataForView = [
'page' => 'galeria',
'subpage' => null
]
$bufferLevel = (int) 1
$page = 'galeria'
$subpage = null
$http = object(Cake\Http\Client) {
[protected] _defaultConfig => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _cookies => object(Cake\Http\Cookie\CookieCollection) {}
[protected] _adapter => object(Cake\Http\Client\Adapter\Curl) {}
[protected] _config => [
'adapter' => null,
'host' => null,
'port' => null,
'scheme' => 'http',
'timeout' => (int) 30,
'ssl_verify_peer' => true,
'ssl_verify_peer_name' => true,
'ssl_verify_depth' => (int) 5,
'ssl_verify_host' => true,
'redirect' => false,
'protocolVersion' => '1.1'
]
[protected] _configInitialized => true
}
$url = 'https://jesusenrique.invitacionamifiesta.com/galerias/get-list'
$galerias = null
include - APP/Template/Element/galeria.ctp, line 12
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435
Cake\View\View::_render() - CORE/src/View/View.php, line 1393
Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879
Cake\View\View::element() - CORE/src/View/View.php, line 783
include - APP/Template/Pages/galeria.ctp, line 2
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435
Cake\View\View::_render() - CORE/src/View/View.php, line 1393
Cake\View\View::render() - CORE/src/View/View.php, line 892
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791
App\Controller\PagesController::display() - APP/Controller/PagesController.php, line 60
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65