-
Hi, i need some help. All the tenants:artisan commands fails with error:
Even composer install fails because of post-autoload-dump event (php artisan package:discover --ansi) I followed the documentation, my default databse connection is 'tenant', i'm using multiple databases, and everything is working fine but artisan commands, i'm trying to install a new package and i'm unable to do that. I don't know what i'm doing wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
OK, problem solved. I had a database call in ViewServiceProvider->boot. That was the problem. I change that call to a middleware. |
Beta Was this translation helpful? Give feedback.
OK, problem solved. I had a database call in ViewServiceProvider->boot. That was the problem. I change that call to a middleware.