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
Undefined variable $__env (View: /var/www/html/public) (View: /var/www/html/resources/themes/velocity/views/home/index.blade.php)
bug when creating a product in update from v0.1.8 to v.1.0.0
after i create a product it shows this error, and i cant resolve this for 2 days
could you help me resolve this?
aayush.bhatt172 last edited by
What you have to do is:
Step 1: Go to config/app.php and look for
"Webkul\Discount\Providers\DiscountServiceProvider::class," under providers array.
Step 2: Remove it.
Step 3: Go to composer.json in the root directory and look for
"Webkul\Discount\": "packages/Webkul/Discount/src", under psr-4
Step 4: Remove it
Step 5: Again Go to config/app.php and add these under providers array.
Step 6: Now Go to composer.json again in the root directory and add these under psr-4
Step 7: Run php artisan vendor:publish --force
Step 8: Run composer dump-autoload.
@aayush-bhatt172 yes i've already done that, and still throwing that error
@aayush-bhatt172 said in bug when creating a product in update from v0.1.8 to v.1.0.0:
if there's no product in database, its not throwing that error
Jyoti last edited by
It seem that your bagisto has not updated correctly, Please mention the steps that you have used to update.
@Jyoti i'm following the step from here https://devdocs.bagisto.com/upgrade_to_latest_bagisto.html