jeudi 3 août 2017

laravel - data missing in Carbon.php (line 582) [duplicate]

This question already has an answer here:

i just change database from MYSQL to SQL Server on my laravel project, usually date on database convert to Carbon Object use this

protected $dates = ['last_login','created_at'];

but after change to SQL Server i got error like this

Data missing
in Carbon.php (line 582)
at Carbon::createFromFormat('Y-m-d H:i:s.000', '2017-08-03 23:29:19')
in HasAttributes.php (line 709)

what the best solution to solve this issue?

Edit :

I just implement solution from DateTime Issue with Laravel 5.2 & MS SQL Server. but i still got the same error



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2v42q63
via IFTTT

Aucun commentaire:

Enregistrer un commentaire