Class Webkul\Core\Repositories\SliderRepository does not exist
-
I used bagisto on my live domain. it was working properly all of the things were going fine. But suddenly this issues occured in our live site. He told me he just setup the git on server and try to push all of the code on Git. I don't know why this error is showing i tried a lot of times by deleting the vendor folder and update composer.json file according to the previous solution i found and after i tried composer install command again. But still it is not effecting. And the admin area also not working.
This is my domain: https://allspot.storePlease check and provide the proper solutions to me ASAP. I'm losing my customers.
Thanks so much!
-
Hi @Ammad
Try to install our latest version from git repository.
Follow below step.
git clone https://github.com/bagisto/bagisto.git
then
cd bagisto
composer install
then run migrate and seed. Rest of process will be same.
Thanks
-
@rahul said in Class Webkul\Core\Repositories\SliderRepository does not exist:
latest
Hi, Hope you are well.
I have done some extra modules by my hand (Manual Coding). It will not be effected on the my routes, Controllers, Models or Views ? -
-
I created some view and controller in Packages folder using the same folder that exist already in packages like Shop etc.
-
Hi @Ammad
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
Run
composer install
on your root.
If you find below error.
In ProviderRepository.php line 208: Class 'Dimsav\Translatable\TranslatableServiceProvider' not found
then
In app.php file of config folder, search for following -Dimsav\Translatable\TranslatableServiceProvider::class,
and replace with
Astrotomic\Translatable\TranslatableServiceProvider::class,
and find TranslatableModel.php file in Core package's Eloquent folder.
In this file, you will find -use Dimsav\Translatable\Translatable;
replace with
use Astrotomic\Translatable\Translatable;
Thanks
-
@rahul said in Class Webkul\Core\Repositories\SliderRepository does not exist:
composer
Thanks bro. I'm just trying this, Let you know the status.
-
It is not working. The issue is still same
-
Thanks rahul it is working!, thanks for your support.