Questions tagged [laravel-upgrade]

52 questions
40
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…
17
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…
10
votes
7 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
  • 556
  • 1
  • 8
  • 27
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,721
  • 11
  • 40
  • 82
7
votes
1 answer

Upgrading laravel into 8 I got illuminate/support support?

I try to upgrade my laravel 8 as I read here https://laravel.com/docs/9.x/upgrade But after I applyid some changes in composer.json I got error : $ composer update Loading composer repositories with package information Updating dependencies Your…
mstdmstd
  • 2,195
  • 17
  • 63
  • 140
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
  • 6,799
  • 19
  • 49
  • 86
1
vote
1 answer

Laravel: Target [...] is not instantiable when building [...]

I see there are a lot of questions on Stackoverflow like this, but they all seem to have different unrelated answers, so hear me out: I'm updating an old Laravel app's file structure to that of the newest version (8.x) and I am getting this error…
1
vote
1 answer

Composer update hangs when upgrading Laravel

While upgrading from Laravel v6 to v7, composer update gets stuck at 'Updating dependencies'. Running it in verbose mode gives me this message : Looking at all rules. Something's changed, looking at all rules again (pass #4709) It keeps on checking…
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
  • 61
  • 6
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
  • 151
  • 3
  • 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…
doremi666
  • 121
  • 3
  • 15
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
  • 128
  • 1
  • 6
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,893
  • 2
  • 27
  • 62
1
vote
1 answer

Call to undefined function App\Providers\studly_case() after upgrade to Laravel 6.0.x

As I mentioned in the question, I just upgraded the Laravel version of my project from 5.8.* to 6.0.*. Now I am getting the below error: In AppServiceProvider.php line 32: Call to undefined function App\Providers\studly_case() Is Laravel supposed…
Vicky Dev
  • 1,893
  • 2
  • 27
  • 62
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
  • 183
  • 2
  • 15
1
2 3 4