ErrorException [ Warning ]: date() expects parameter 2 to be long, string given

APPPATH/views/conteudo/noticias.php [ 102 ]

 97 						<div class="imagem" data-backstretch-url="<?php echo URL::site('media/noticias/' . $item->imagem); ?>"></div>
 98 					</a>
 99 					<div class="pad-vert-half pad-side-half">
100 						<div class="data">
101 							<?php if ( ! $item->clipping): ?>
102 								<?php echo date('d.m.Y', $item->data); ?>
103 							<?php else: ?>
104 								<?php foreach ($item->tags->find_all() as $tema): ?>
105 									<a href="<?php echo URL::site(Request::$lang . '/namidia?tag_id=' . $tema->id); ?>" class="clip_tag"><?php echo $tema->titulo; ?></a>
106 								<?php endforeach; ?>
107 							<?php endif; ?>
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/views/conteudo/noticias.php [ 102 ] » date(arguments)

  3. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  5. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

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

  7. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  8. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  9. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  10. APPPATH/classes/Controller/Website.php [ 51 ] » Kohana_Controller_Template->after()

  11. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Website->after()

  12. {PHP internal call} » Kohana_Controller->execute()

  13. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  14. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  15. MODPATH/multilang/classes/Multilang/Request.php [ 195 ] » Kohana_Request_Client->execute(arguments)

  16. DOCROOT/index.php [ 118 ] » Multilang_Request->execute()

Environment

Stay tuned! Sign up for our newsletter