Questions tagged [laravel-6]

Laravel 6.0 is a past main version of the open-source PHP web framework created by Taylor Otwell. It was released on September 3, 2019. Use the [laravel] tag for general Laravel related questions.

Laravel 6.0 (LTS) continues the improvements made in Laravel 5.8 by introducing semantic versioning, compatibility with Laravel Vapor, improved authorization responses, job middleware, lazy collections, sub-query improvements, the extraction of frontend scaffolding to the laravel/ui Composer package, and a variety of other bug fixes and usability improvements.

What is new:

  • Semantic Versioning
  • Laravel Vapor Compatibility
  • Improved Exceptions Via Ignition
  • Improved Authorization Responses
  • Job Middleware
  • Lazy Collections
  • Eloquent Subquery Enhancements
  • Laravel UI

Resources:

1918 questions
0
votes
0 answers

Missing required parameters for [Route: voluntier.submit.get] [URI: voluntier/submit/{id}]

I am currently working on my final project, but I got this error and I have tried to change the route action on my html to {{ route('voluntier.submit.get') }} but it still shows the error. Could anyone help me to find the solution. Thank you so…
Deye
  • 1
0
votes
1 answer

Jquery confirm on delete using noty js is not working

I want user to confirm delete once clicked delete button( with class .delete) I use Noty js and included its script src: The delete button with class .delete: …
shaza
  • 37
  • 11
0
votes
1 answer

Laravel (ver 6) php artisan route:list return "Target class does not exist" error with production environment (worked fine in local environment)

I'm using laravel 6 for BE and vuejs for FE. Wtih my local environment ( built on xampp server ), everything was fine. But, when I deployed the app to the server(Lamp server with ubuntu 18.04), I got the following error when I tried to run "php…
khet
  • 95
  • 11
0
votes
1 answer

Solve Laravel InvalidArgumentException: Authentication views not found

I updated laravel 5.6 project to laravel 6 in order to use the laravel-permission spatie package. It uses the default auth provided by Laravel. I can't access the auth routes and it appears as I am logged in while still seeing Login | Register on…
0
votes
1 answer

Laravel download from cloud storage throws file not found error

I have a file stored in an s3 bucket. I can upload fine but when I try to download using the code below I get file not found exception thrown e.g. Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException The file…
adam78
  • 9,668
  • 24
  • 96
  • 207
0
votes
2 answers

I am not able to check if there is data in variable in laravel 6 with count() collection

I am not able to check if there is data in the variable in laravel 6. Here is the function. Here the problem is $tags->count() is not hitting else statement public function index(){ $tags =…
Upasana Chauhan
  • 948
  • 1
  • 11
  • 32
0
votes
1 answer

Listener registered multiple times

after registering an event-listener-combo in the EventServiceProvider.php there are two listeners shown when running php artisan event:list: +-----------------------------------+-------------------------------------------------------------+ | Event …
alexfwulf
  • 199
  • 1
  • 13
0
votes
0 answers

Laravel model with relationships replicate fails using TNTSearch on save/push mb_strtolower() expects parameter 1 to be string, array given

When trying to replicate a model with relationships TNTSearch fails with mb_strtolower() expects parameter 1 to be string, array is given error. This only happens when Laravel replicates a model with relationships and then tries to save it. This…
Mark
  • 151
  • 1
  • 1
  • 13
0
votes
1 answer

noty js style is not working in laravel 6

I am using noty library for styliss notification: enter link description here it is working in default theme without styling I put source css and js in app.blade:
shaza
  • 37
  • 11
0
votes
2 answers

Vue js Laravel axios POST 500 Internal Server Error

I've just created laravel Vuejs Project using Axios for call API. Get Api is working well but When I am going to post my data, getting Internal server error. I am using Resourse for for controller. I just Create Api and get data by This: …
Monsur Ahmed
  • 23
  • 2
  • 10
0
votes
1 answer

How to create Subscription with Laravel 6 and Cashier 10 with Stripe?

Laravel Developers, After I submit my payment form, I get a 404 error message. When I check the database there is no update in the subscription document. Any suggestions? I've been at this for a while now and I feel like I'm missing something that…
Laing
  • 3
  • 5
0
votes
0 answers

Validation for route parameters in Laravel 6.x

I'm using Laravel 6 and I want to use validators to validate my route parameters before using them in database queries. Route Route::put('Brands/update/name/{id}', 'BrandsController@updatename') ->name('BrandUpdateName'); Controller public…
dez
  • 23
  • 2
  • 5
0
votes
1 answer

Laravel - The payload is invalid

I am using a command to execute an event to store some data to the database. But when executing the command, I get an error: Illuminate\Contracts\Encryption\DecryptException : The payload is invalid. When executing this event in a controller,…
Hardist
  • 2,098
  • 11
  • 49
  • 85
0
votes
1 answer

uninstalling CKeditor 5 from Laravel 6

I installed CKeditor 5 in laravel 6 by this command: npm install --save @ckeditor/ckeditor5-build-classic how could I uninstall this package from laravel? thanks
zahra_oveyedzade
  • 988
  • 10
  • 17
0
votes
3 answers

pass data from login controller to login.blade.php in laravel

I am trying to pass data from login controller to login.blade.php in laravel 6 like I using common header throughout the application so I have to create dynamic title and description. default login controller is something like this class…
Upasana Chauhan
  • 948
  • 1
  • 11
  • 32