You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I'm over stretching this, but I'm trying to run the php artisan command from a fresh vrata instalation usgin the composer create-project, and it keeps saying the message
In ServiceProvider.php line 97:
Trying to access array offset on value of type null
I've narrowed dwn to two classes that call the method "loadViewsFrom" which is the one that fails to find the views config file in the config directory, and those two classes are "PassportServiceProvider", "PaginationServiceProvider".
So as I mentioned above, maybe I'm trying to do somthing that is totally unnecesary like running the "php artisan" command to work with vrata, but I'm trying to wrap my head arround on how vrata do its things, I understand that there are no views needed in vrata, but lets say how does vrata install passport correctly if it cant run the php artisan command.
I've noticed that it runs migrations from the ci/start.sh when using docker (which I haven't done, I'm also figuring out how to pass the json to the docker env correctly), but if I want to do it myself from fresh instalation using composer create-project, I cant run passport:install nor gateway:parse.
Now, I ended commenting the calls to the "loadViewsFrom" from those 2 providers and I was able to run "php artisan", I know it might not be an issue using the docker method, but do I have to do that every time I install a vrata project composer way?
Also, any clarification on why maybe it isn't a problem at all would be appreciated. Thank you.
The text was updated successfully, but these errors were encountered:
Maybe I'm over stretching this, but I'm trying to run the php artisan command from a fresh vrata instalation usgin the composer create-project, and it keeps saying the message
I've narrowed dwn to two classes that call the method "loadViewsFrom" which is the one that fails to find the views config file in the config directory, and those two classes are "PassportServiceProvider", "PaginationServiceProvider".
So as I mentioned above, maybe I'm trying to do somthing that is totally unnecesary like running the "php artisan" command to work with vrata, but I'm trying to wrap my head arround on how vrata do its things, I understand that there are no views needed in vrata, but lets say how does vrata install passport correctly if it cant run the php artisan command.
I've noticed that it runs migrations from the ci/start.sh when using docker (which I haven't done, I'm also figuring out how to pass the json to the docker env correctly), but if I want to do it myself from fresh instalation using composer create-project, I cant run passport:install nor gateway:parse.
Now, I ended commenting the calls to the "loadViewsFrom" from those 2 providers and I was able to run "php artisan", I know it might not be an issue using the docker method, but do I have to do that every time I install a vrata project composer way?
Also, any clarification on why maybe it isn't a problem at all would be appreciated. Thank you.
The text was updated successfully, but these errors were encountered: