Exception [ 0 ]: DateTime::__construct(): Failed to parse time string (02.08.2016/2025) at position 10 (/): Unexpected character

APPPATH/classes/Kohana/Service.php [ 310 ]

305      * @param $mysqlDate
306      * @param string $format
307      * @return string
308      */
309     public static function mysqlDateToCpu($mysqlDate, $format = 'd-m-Y H:i:s') {
310         $date = new DateTime($mysqlDate);
311         return $date->format($format);
312     }
313 }
  1. APPPATH/classes/Kohana/Service.php [ 310 ] » DateTime->__construct(arguments)

  2. APPPATH/views/mkdviews/mkdviewuo.php [ 218 ] » Kohana_Service::mysqlDateToCpu(arguments)

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

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

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

  6. APPPATH/views/basic.php [ 85 ] » Kohana_View->__toString()

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

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

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

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

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

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

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

  14. SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute(arguments)

  15. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment