Notice (8): Undefined offset: 1 [APP/views/helpers/date.php, line 48]
Code |
Context$date = null
$showyear = 1
$shortday = 1
$splitter = "-"
$day = 2
$month = 1
$year = 0
$days = array(
"Ne",
"Po",
"Út",
"St",
"Čt",
"Pá",
"So"
)
$months = array(
"ledna",
"února",
"března",
"dubna",
"května",
"června",
"července",
"srpna",
"září",
"října",
"listopadu",
"prosince"
)
$ad = array(
""
)
$ad = explode($splitter,$date);
$unixtime = mktime(0,0,0,$ad[$month],$ad[$day],$ad[$year]);
DateHelper::czDate1() - APP/views/helpers/date.php, line 48
include - APP/views/content_news/view.ctp, line 3
View::_render() - CORE/cake/libs/view/view.php, line 666
View::render() - CORE/cake/libs/view/view.php, line 376
Controller::render() - CORE/cake/libs/controller/controller.php, line 806
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 230
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Notice (8): Undefined offset: 2 [APP/views/helpers/date.php, line 48]
Code |
Context$date = null
$showyear = 1
$shortday = 1
$splitter = "-"
$day = 2
$month = 1
$year = 0
$days = array(
"Ne",
"Po",
"Út",
"St",
"Čt",
"Pá",
"So"
)
$months = array(
"ledna",
"února",
"března",
"dubna",
"května",
"června",
"července",
"srpna",
"září",
"října",
"listopadu",
"prosince"
)
$ad = array(
""
)
$ad = explode($splitter,$date);
$unixtime = mktime(0,0,0,$ad[$month],$ad[$day],$ad[$year]);
DateHelper::czDate1() - APP/views/helpers/date.php, line 48
include - APP/views/content_news/view.ctp, line 3
View::_render() - CORE/cake/libs/view/view.php, line 666
View::render() - CORE/cake/libs/view/view.php, line 376
Controller::render() - CORE/cake/libs/controller/controller.php, line 806
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 230
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Warning (2): mktime() expects parameter 6 to be long, string given [APP/views/helpers/date.php, line 48]
Code |
Context$date = null
$showyear = 1
$shortday = 1
$splitter = "-"
$day = 2
$month = 1
$year = 0
$days = array(
"Ne",
"Po",
"Út",
"St",
"Čt",
"Pá",
"So"
)
$months = array(
"ledna",
"února",
"března",
"dubna",
"května",
"června",
"července",
"srpna",
"září",
"října",
"listopadu",
"prosince"
)
$ad = array(
""
)
mktime - [internal], line ??
DateHelper::czDate1() - APP/views/helpers/date.php, line 48
include - APP/views/content_news/view.ctp, line 3
View::_render() - CORE/cake/libs/view/view.php, line 666
View::render() - CORE/cake/libs/view/view.php, line 376
Controller::render() - CORE/cake/libs/controller/controller.php, line 806
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 230
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
- Čt 1.ledna 1970