Questions tagged [laravel-upgrade]
38 questions
24
votes
4 answers
After upgrading Laravel from 5.6 to 6.0, Call to undefined str_random() function not working
I have upgraded Laravel from 5.6 to 6.0. Previously, default helper functions were running fine on the controllers, but now it says "undefined." In my controller, I have used the following.
$filename = str_random(12);
I am getting the following…
Vishal Srivastava
- 343
- 1
- 2
- 14
13
votes
4 answers
Undefined class constant 'App\Providers\RouteServiceProvider::HOME'
After upgrading the laravel 5.8 to laravel 6.x I am getting this error:
Undefined class constant 'App\Providers\RouteServiceProvider::HOME'
Before upgrading the application login system was the custom. After upgrading to laravel 6.x I want to use…
Rashed Hasan
- 3,414
- 5
- 29
- 71
10
votes
8 answers
Upgrading Laravel 5.4 to latest version (5.7)
I am working on Laravel 5.4 with PHP version 5.6.4.
My goal is to upgrade my project to Laravel 5.7 with PHP 7.1.
Now my question is: Do I have to upgrade to 5.5 > 5.6 > 5.7 or can I go directly from 5.4 to 5.7?
Michael
- 486
- 1
- 6
- 20
9
votes
2 answers
ConfirmPasswordController doesn't exist after upgrade from Laravel 5.8 to 6.2
I am working on a project which is in Laravel 5.8, and recently, I upgraded it to Laravel 6.0 with its packages dependencies versions too. The project was running fine. But, today, I update the composer via composer update, and it upgraded to…
Rashed Hasan
- 3,414
- 5
- 29
- 71
2
votes
1 answer
FatalErrorException in Manager.php line 139 on Laravel 5.4
After upgrade Laravel 5.3 to Laravel 5.4
Show me this error
FatalErrorException in Manager.php line 138:
Call to undefined method Illuminate\Session\Store::set()
paranoid
- 5,453
- 14
- 38
- 70
1
vote
0 answers
Should I replace dependencies when upgrading Laravel (e.g. from 5.8 to 6)?
I am working on upgrading Laravel from 5.8 to 6.
I have read the documentation https://laravel.com/docs/6.x/upgrade and many similar (mostly summary of documentation) online.
I have updated required versions for the packages that exist both on 5.8…
Adem Tepe
- 47
- 5
1
vote
4 answers
How to update Laravel Installer for version 8.x?
I used this command for installing Laravel Installer:
composer global require "laravel/installer"
For creating a project I use :
laravel new name --jet
on 8th September laravel 8.x was released, and I'm looking for installing it using the laravel…
Tarik Manoar
- 103
- 2
- 10
1
vote
1 answer
Problem with upgrading from Laravel 6 to Laravel 7
I was trying to upgrade my Laravel Project from 6 to 7 and I have already upgraded other dependencies that Laravel version 7 requires.
I tried to run php require laravel/framework "^7.0" but it's showing me the following error.
Problem 1
- Can…
Eva Cheong
- 83
- 1
- 10
1
vote
0 answers
Moving from laravel 6 to 7x getting this error, arcanedev/laravel-messenger 7.2.0 requires arcanedev/support ^5.1
Moving from laravel 6 to 7x getting this error, arcanedev/laravel-messenger 7.2.0 requires arcanedev/support ^5.1
This is the error while i run composer update
This is composer.json file
{
"name": "laravel/laravel",
"type":…
hamza liaqat
- 46
- 1
- 5
1
vote
2 answers
Adding Laravel dependency in non-class helper files
I recently upgraded Laravel version in the project to 6.x.
Now I know the helpers class have been removed from Laravel 6.0 version.
But anyway I need to keep the [root-dir]/helpers.php file which is functions oriented, non-class file containing…
Vicky Dev
- 1,219
- 1
- 18
- 40
1
vote
1 answer
laravel upgrade to 5.2
I'm upgrading Laravel to 5.2 from 5.1, my auth.php
return [
/*
|--------------------------------------------------------------------------
| Default Authentication Driver
…
marmahan
- 153
- 7
1
vote
1 answer
Get error when upgrading to laravel 7.0 From laravel 6.x
I am trying to upgrade my application to laravel 7. But I got error when i entered composer update. And changed composer.json file as well as laravel upgrade document.
And error is :
The…
Mamun Chowdhury
- 39
- 4
1
vote
0 answers
Laravel 6 upgrade error - with dependency
I changed in my composer "laravel/framework": "^6.0". I ran the command composer update and I get an error!
Check the image below please.
What should i do?
Remove the dependency and try to find a solution or how i can handle this??
I have try to…
FreeLancer
- 69
- 1
- 2
- 13
1
vote
1 answer
laravel upgrade to 5.7 from 5.6 composer not working
I am upgrading my laravel project to 5.6. current version is 5.5.38. my composer file is as below. when i run composer update, it does nothing but showing Loading composer repositories with package information
Updating dependencies (including…
Deemantha
- 313
- 3
- 23
1
vote
2 answers