skip to Main Content

Unexpected data found. Trailing data laravel and carbon

I want add days to created at in database but get this error in laravel, Unexpected data found. Trailing data format column created_at is datetime $packages = Package::find($id); $licenceF = Licence::where('tbl_package_id' , $id) ->select('created_at') ->get(); $date = Carbon::createFromFormat('Y-m-d', $licenceF); $findPackage…

VIEW QUESTION
Back To Top
Search