Menu

ErrorException [ Warning ]: mktime() expects parameter 6 to be integer, string given

APPPATH/views/frontend/homepage/blogdet.php [ 8 ]

 3 $i=0;
 4 
 5 $blog = $content;
 6 
 7 	$fecha = explode("-", $blog['postdate']);
 8 	$date = mktime(0,0,0,(int)$fecha[1], (int)$fecha[2], $fecha[0]);
 9 ?>
10 <section class="note blog <?=($i>0)?"line":''?>">
11 	<h1><?=nl2br($blog['title'])?></h1>
12 	<h4>
13 		<?=date("d", $date)." de ".$meses[date("n", $date)]." del ".date("Y", $date)?>
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/views/frontend/homepage/blogdet.php [ 8 ] » mktime(arguments)

  3. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  4. SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)

  5. SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()

  6. APPPATH/views/frontend/template.php [ 80 ] » Kohana_View->__toString()

  7. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  8. SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)

  9. SYSPATH/classes/kohana/controller/template.php [ 44 ] » Kohana_View->render()

  10. {PHP internal call} » Kohana_Controller_Template->after()

  11. SYSPATH/classes/kohana/request/client/internal.php [ 119 ] » ReflectionMethod->invoke(arguments)

  12. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  13. SYSPATH/classes/kohana/request.php [ 1154 ] » Kohana_Request_Client->execute(arguments)

  14. DOCROOT/index.php [ 112 ] » Kohana_Request->execute()

Environment