Illegal offset type in isset or empty
-
I am Experiencing an issue with my installation.
I can access the admin side but the user side is throwin me an errorIllegal offset type in isset or empty (View: /home/sensy/Desktop/laravel_proj_new/bagisto/resources/themes/velocity/views/home/index.blade.php)
-
@osensy said in Illegal offset type in isset or empty:
View: /home/sensy/Desktop/laravel_proj_new/bagisto/resources/themes/velocity/views/home/index.blade.php)
Hi there,
Please run the below given commands.php artisan bagisto:publish --force php artisan optimize:clear
-
i have the same issue and i ran these commands but the issue didn't solved
-
Hi there,
Is it possible to share the steps which you followed for installing the Bagisto. -
@sanjay-webkul Thanks Alot for the response, It did not help though. I am still facing the same error.
I used composer to install itcomposer create-project bagisto/bagisto
Then I ran into an error and had to do;
composer update
After that, i created a database, and included it in the .env file and then ran:
php artisan bagisto:install
The screenshot attached may help in debugging the error
-
@osensy said in Illegal offset type in isset or empty:
composer update
Hi there,
The issue is because you run this command,composer update
-
The issue is raised for the same in our git repository.
Can you please let me know the reason of run composer update command?
-
@sanjay-webkul No, the Update didnt help either
-
Hi there,
For now, you can add this line on your composer.json file and then run the below command"laravel/framework": "9.35.1", composer update
Because the issue is in db blade compiler dependency of laravel
-
Hi there,
We will update all the dependency in our major version -
Hello,
I am facing the same issue. Even after putting the line in the Json and updating the composer doesn't help.
My composer version is: 2.1.5
-
Which version of Bagisto are you using?
-
I have the same problem, but the installation was correct, only when I got the add-ons, the administration works normally, the latest version bagisto
-
Hi there,
I guess you run the " composer update " command that's why this issue is occurring.
Please take reference from Here for the same. -
I did so, but nothing helped.
the update went without errors
but no effect
-
Hi there,
You run the composer update command that's why this issue is occurring.
Please take a reference from Here