skip to Main Content

Can't run laravel with php artisan serve command

ErrorException Undefined array key 1 at vendorlaravelframeworksrcIlluminateFoundationConsoleServeCommand.php:368 364▕ $line = str_replace(' ', ' ', $line); 365▕ 366▕ preg_match($regex, $line, $matches); 367▕ ➜ 368▕ return Carbon::createFromFormat('D M d H:i:s Y', $matches[1]); 369▕ } 370▕ 371▕ /** 372▕ * Get the request…

VIEW QUESTION

How to handle deadlocks in Laravel

Laravel docs recommends using attempts to deal with Deadlocks (https://shorturl.at/bsKta) But, the handleTransactionException() method inside the transaction() method has a comment: On a deadlock, MySQL rolls back the entire transaction so we can't just retry the query. We have to…

VIEW QUESTION
Back To Top
Search