Notice (8): Undefined variable: marcas [APP/View/Transitos/buscador_transitos.ctp, line 24]Code Context <option value=""></option> <?php foreach($marcas as $marca){ $viewFile = '/home/sftp/html/eparts.com.mx/app/View/Transitos/buscador_transitos.ctp' $dataForView = array( 'authUser' => (int) 0 ) $authUser = (int) 0include - APP/View/Transitos/buscador_transitos.ctp, line 24 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
<option value=""></option> <?php foreach($marcas as $marca){
<option value=""></option>
<?php
foreach($marcas as $marca){
$viewFile = '/home/sftp/html/eparts.com.mx/app/View/Transitos/buscador_transitos.ctp' $dataForView = array( 'authUser' => (int) 0 ) $authUser = (int) 0
include - APP/View/Transitos/buscador_transitos.ctp, line 24 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111
Warning (2): Invalid argument supplied for foreach() [APP/View/Transitos/buscador_transitos.ctp, line 24]Code Context <option value=""></option> <?php foreach($marcas as $marca){ $viewFile = '/home/sftp/html/eparts.com.mx/app/View/Transitos/buscador_transitos.ctp' $dataForView = array( 'authUser' => (int) 0 ) $authUser = (int) 0include - APP/View/Transitos/buscador_transitos.ctp, line 24 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 111