Questions tagged [laravel-upgrade]

52 questions
0
votes
1 answer

Upgrade laravel 5.8 to 6: Fatal error: Uncaught RuntimeException: A facade root has not been set

I am trying to upgrade laravel 5.8 to 6. I have also deleted the vendor Directory But still getting the following error: Fatal error: Uncaught RuntimeException: A facade root has not been set. in C:\xampp8.2.0\htdocs\web_kaalo -…
0
votes
0 answers

Since what version of Laravel, variables passed with compact to route need to be called the same as parameters?

I have upgrade Laravel from 5.8 to 8.0. I've noticed the section about URL Generation in Upgrade Guide for Laravel 6, but I also noticed different behavior, which is not described in any upgrade guide (or maybe I missed something). In older version…
VG-Electronics
  • 230
  • 2
  • 16
0
votes
1 answer

Laravel version upgrade with routes.php

Laravel had a routes.php file in older version. Which got changed into routes/web.php I am trying to upgrade the laravel from older to latest version. But my routes.php still exists and routes folder is not still created. Is this fine, because the…
Sanal K
  • 723
  • 4
  • 14
0
votes
0 answers

Laravel upgrade advice

I have an old project with laravel 5.8; I've tried to update to 6 & 7 & 8, no luck. I just want to know where to start from. Right now, all i'm doing is changing versions of different packages...Should i remove any lines or what? What all ways do…
Akshay K Nair
  • 1,107
  • 16
  • 29
0
votes
1 answer

Laravel 5.8 to 6.x upgrade error - Declaration of App\Exceptions\Handler::renderHttpException

I have recently upgraded Laravel in the project from 5.8.* to 6.x version. Now when I try running command composer dump-autoload -o, I get this error: Declaration of…
Vicky Dev
  • 1,893
  • 2
  • 27
  • 62
0
votes
0 answers

Laravel 5.3 Roles And Permissions package error after upgrade

I'm using this package enter link description here Roles And Permissions For Laravel 5. This package was working fine on Laravel 5.2 but when I upgraded to laravel 5.3 I started to get this error on many APIs "Trying to get property 'id' of…
marmahan
  • 183
  • 2
  • 15
0
votes
1 answer

Laravel 5.3 trying to get property of non-object

I just updated my application into version 5.3 and in many routes I'm getting trying to get property of non-object Like for example I have a resource called post and another called Article where each post can have one Articles. And each Article…
marmahan
  • 183
  • 2
  • 15
0
votes
3 answers

Laravel after upgrade, .env variable Undefined index

I'm upgrading Laravel to 5.2 from 5.1. When i refere to variable API_DOMAIN in .env file using $_ENV $_ENV['API_DOMAIN'] I get an error saying Undefined index: API_DOMAIN". Am I missing something here? should i do something after composer update?
marmahan
  • 183
  • 2
  • 15
0
votes
1 answer

BadMethodCallException Method Illuminate\Translation\Translator::getFromJson does not exist

BadMethodCallException Method Illuminate\Translation\Translator::getFromJson does not exist. Bad Method Call Did you mean Illuminate\Translation\Translator::getLine() ? I have tried by given command but it's not working for me. same error is…
Abdullah
  • 135
  • 2
  • 14
0
votes
0 answers

Is there any way to resolve class not found in container.php Laravel?

I am planning to upgrade my own laravel from 5.1 to 6.0 however as what laravel suggest, it should be one step at a time. In one of the package, there is a oauth2 package called lucadegaspery and as what the author suggest as more than 5.2, this…
Yuko Pangestu
  • 193
  • 1
  • 2
  • 19
0
votes
1 answer

Laravel 6.0 Composer dependency upgrade error

I changed in my composer "laravel/framework": "^6.0". I ran the command composer update and I get an error and it's not updated. My current version is 5.8.2 Thanks for the help! Image with error: https://imge.to/i/vUDUvy
FreeLancer
  • 79
  • 1
  • 6
  • 13
0
votes
1 answer

How to migrate a project made in Laravel 4.0 to Laravel 5.2?

I'm setting up a new server and want to migrate the project from Laravel version 4.0 to Laravel version 5. I followed the steps mentioned in this URL Upgrading from Laravel 4 to Laravel 5, but after all the steps, I got the following error. What…
Yogi Ghorecha
  • 1,584
  • 1
  • 19
  • 26
0
votes
1 answer

Is there a safe way to upgrade the laravel version in Production

I have a Laravel 5.4 project (web application), it's a huge product. I want to add some well known packages like error logging and debugging. Is there any simple way to update the Laravel from 5.4 to 5.5 or 5.6 without affecting the things what was…
Wahab Ahmed
  • 159
  • 1
  • 1
  • 11
0
votes
1 answer

Why laravel does not update files on its own during an upgrade?

Today I updated to laravel 5.7 and I don't know if you have to do things manually for an upgrade or I did not know how to upgrade. But I noticed that when I updated to laravel 5.7 and ran composer update it did not change the directory…
Raj
  • 1,928
  • 3
  • 29
  • 53
0
votes
1 answer

Laravel 5.6: Getting Call to undefined method ...\Store::getToken() after upgrading composer.json

I am using Laravel 5.6 and I am getting: Call to undefined method Illuminate\Session\Store::getToken() after upgrading composer.json