skip to Main Content

Laravel Undefined array key 1 php artisan serve – PHP Versions

Undefined array key 1 at D:App-PHPxampp_php_8htdocstest-projectvendorlaravelframeworksrcIlluminateFoundationConsoleServeCommand.php:289 285▕ protected function getDateFromLine($line) 286▕ { 287▕ preg_match('/^[([^]]+)]/', $line, $matches); 288▕ ➜ 289▕ return Carbon::createFromFormat('D M d H:i:s Y', $matches[1]); 290▕ } 291▕ 292▕ /** 293▕ * Get the request port from the given…

VIEW QUESTION

why can't orderby desc and asc work? in laravel

example image data : when the js responds, the data has already been ordered by example image response js : example controller and query : $query = Verifikasi_tte::join('surat_ttes', 'surat_ttes.id', '=', 'verifikasi_ttes.surat_tte_id') ->join('users', 'users.id', '=', 'surat_ttes.user_id') ->join('jenis_surat_ttes', 'jenis_surat_ttes.id', '=', 'surat_ttes.jenis_surat_tte_id') ->select('surat_ttes.id','surat_ttes.klasifikasi','surat_ttes.no_surat','surat_ttes.tgl_surat','surat_ttes.created_at',…

VIEW QUESTION

get the value of an input in laravel for a route

i have an input called id and i want to specify the button path for that id example: in my blade file <div class="modal-body"> <lable for="">ID:</lable><br/> <input type="text" name="id" placeholder="Enter the product name" required><br/> </div> <div class="modal-footer"> <button type="button" class="btn…

VIEW QUESTION
Back To Top
Search