Hi guys, it solved.
I just add one line at all my models.
protected $dateFormat = 'Y-m-d H:i:s';
Before I add that code, I write protected $dateFormat = 'Y-m-d H:i:s.v' on my models.
Thanks for sharing everyone..
yeah, but the strangest things that it errors just for update feature, when insert everything goes well. (on Ubuntu)
When i use Mac OS or Windows, everything works fine..
the error point that function..
I've used Carbon. The problem just when update, on insert everything goes well
sonicitiskg started a new conversation Laravel Can't Update Data When Using SQL Server Database On Ubuntu
I have a problem when deploying my application on ubuntu. I develop my apps on Windows, using XAMPP + Laravel 5.5 + SQL Server. When I deploy to ubuntu server, the application cannot do the update data. The error is "Data Missing". It caused by datetime format on SQL Server using milliseconds, (yyyy-mm-dd hh:ii:ss.000), but my application not produce that format (my apps produce yyyy-mm-dd hh:ii:ss).
I have been trying to edit .../HasAttributes.php & SqlGrammar.php but nothing helps.
Is anyone happened this things?