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)
Class Webkul\Core\Repositories\SliderRepository does not exist !
Aysa last edited by
I installed bagisto 3 month ago but now I'm facing "Class Webkul\Core\Repositories\SliderRepository does not exist" error.I know there is a same topic but I don't want to install new version.Is there other solution?
rahul last edited by
Delete you Vendor folder and composer.lock file.
Then replace your composer.json file from this one - https://github.com/bagisto/bagisto/blob/master/composer.json
on your root.
If you find below error.
In ProviderRepository.php line 208:
Class 'Dimsav\Translatable\TranslatableServiceProvider' not found
In app.php file of config folder, search for following -
and replace with
and find TranslatableModel.php file in Core package's Eloquent folder.
In this file, you will find -