Admin route returns 500 error after composer update #2591
Replies: 4 comments
-
Hi @shabaz-ejaz, please try to clear all Laravel caches: Which Twill 2 minor version were you on before running composer update? |
Beta Was this translation helpful? Give feedback.
-
Hi @ifox, I tried that and I still get the same error. My previous version of Twill was: More specifically from my composer.lock file:
Here is the full contents of my previous composer.json file:
|
Beta Was this translation helpful? Give feedback.
-
Did you reload php-fpm? Asking because I see that your logs are production logs. Do you see the manifest file under |
Beta Was this translation helpful? Give feedback.
-
Yes I did restart fpm, restarted the server and still get the same error. I see a file called The contents of
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
After doing a composer update, all of a sudden my admin route returns a 500 error.
in my .ENV I have set
ADMIN_APP_PATH=admin
Steps to reproduce
When i go to /admin it redirects me to /admin/login and returns a 500 error.
Expected result
Should just take me to the admin login area.
Actual result
500 error and redirects to /admin/login
I did a composer update and since then this has started to happen. The front end works fine and all my pages work normally except anything in the admin area.
In my laravel.log i see the following:
I tried running
php artisan twill:update
and it runs fine but I still have the same issue. I also ranphp artisan twill:build
which ran successfully and I still have the same issue.Versions
Twill version: area17/twill": "^2.0",
Laravel version: 7.0
PHP version: PHP 7.2.34
Database engine: InnoDB and MyISAM - MySQL - 5.7.44
OS: CentOS v7.9.2009 STANDARD kvm
Beta Was this translation helpful? Give feedback.
All reactions