Code Context if($type != 10 && $type != 11){
$var = explode('-', $date);
$mes = intval($var[1]);
$date = '11'
$type = null
$meses = array(
(int) 1 => 'Janeiro',
(int) 2 => 'Fevereiro',
(int) 3 => 'Março',
(int) 4 => 'Abril',
(int) 5 => 'Maio',
(int) 6 => 'Junho',
(int) 7 => 'Julho',
(int) 8 => 'Agosto',
(int) 9 => 'Setembro',
(int) 10 => 'Outubro',
(int) 11 => 'Novembro',
(int) 12 => 'Dezembro'
)
$mesesstring = array(
'01' => 'Janeiro',
'02' => 'Fevereiro',
'03' => 'Março',
'04' => 'Abril',
'05' => 'Maio',
'06' => 'Junho',
'07' => 'Julho',
'08' => 'Agosto',
'09' => 'Setembro',
(int) 10 => 'Outubro',
(int) 11 => 'Novembro',
(int) 12 => 'Dezembro'
)
$minutesWithoutZero = (int) 11
$var = array(
(int) 0 => '11'
)
AgendasController::date() - APP/Controller/AgendasController.php, line 503
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
Object::requestAction() - CORE/Cake/Core/Object.php, line 105
include - APP/View/Agendas/categoriasagendas.ctp, line 42
View::_evaluate() - CORE/Cake/View/View.php, line 961
View::_render() - CORE/Cake/View/View.php, line 923
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 960
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118