Undefined variable $__env (View: /var/www/html/public) (View: /var/www/html/resources/themes/velocity/views/home/index.blade.php)
Whenever i try to run npm run production and npm run watch in pacakages/webkul/admin, packages/webkul/ui and packages/webkul/shop, The following error occurs.How to solve it
Product images are not coming!! Tried all cache commands and .env app_url changes
aayush.bhatt172 last edited by
Please check in env file if you are using an extra slash "/" at the end of app url.
Remove it, and clear cache and the try.
What is your bagisto version and are you using any other module with it ?
Thanks and Regards
No extra slash And version is 1.3.2
MohanKestrel last edited by
I faced the same issue while I migarated to 1.3.2. Logo images are fine but product images are not working.
I have do the following steps.
php artisan vendor:publish --force unlink storage php artisan storage:link php artisan optimize.
--force command will replace all the default files make sure if you have changed some file make backup)
It resolved the issue for me.
hope it works
wontoneesaju last edited by
if its not working through commands then you can do the manual cache deletion from bootstrap/cache folder.
May i know have you installed all the dependencies mentioned by the intervention, because we are using Laravel intervention package,
@devansh-webkul Yes I changed configuration but issue still exists.
@wontoneesaju I tried that it didn't work. No changes.
@MohanKestrel I run these commands still issue exists.
The extension is the only reason. Please check your PHP extensions and install all dependencies for the PHP extension such as lib-jpeg, lib-*, etc.
dailamy1983 last edited by
Thanks' a lot it works with me
Thanks for the update.
Also, if you like our support, you may give us the review here:- https://www.trustpilot.com/review/bagisto.com
That would be grateful for us.
Thanks & Regards,
vikas.rathore last edited by
@MohanKestrel i tried but still not showing
sanjayvv last edited by
thanks @MohanKestrel , it's works for me.
web2geteideas last edited by
Wow @MohanKestrel , it's working. Thnx
Akshay last edited by
I am getting the same error that images not coming.
Please follow the given steps for resolve the issue:
1. cd public
2. unlink storage
3. cd ..
4. php artisan storage:link
If still you are getting the same issue then please let me know
nmach last edited by
thanks @MohanKestrel Backrooms
but i tried but still not showing
Please run the given command only for the velocity package. the issue will be resolved.
php artisan vendor:publish --force