Attempt to read property "ticket_title" on bool

I have this problem when I want to open specific page by id. now I am trying to shown title on my page with specific id, which have post in db, but that error stopped me. there are my code. route Route::get(‘/tickets/{id}’, [TicketsController::class, ‘show’])->name(‘tickets.show’); controller public function show($id) { $tickets = Tickets::with(‘companies’)->get(); $ticketscomp = Companies::with(‘tickets’)->get();… Read More Attempt to read property "ticket_title" on bool

Cannot clear laravel migrations because of invalid database url config

I accidentally added a wrong database url to my Laravel config now every time I try doing anything with artisan I get this error InvalidArgumentException The database configuration URL is malformed. I already removed that line but now I can’t clear the cache for the config and every time I do anything with artisan I… Read More Cannot clear laravel migrations because of invalid database url config

How to change the default landing page after serve command

I am wondering if it is possible to change the default startup address after the command php artisan serve Because when I run it, I get the default url Starting Laravel development server: http://127.0.0.1:8000 But my "first page" is when I type http://127.0.0.1:8000/index in the browser. So is it possible to automatically give out http://127.0.0.1:8000/index… Read More How to change the default landing page after serve command