aabk
aabk

Reputation: 47

How to remove ckeditor package (error: Class 'Ckeditor\CkeditorServiceProvider' not found)?

I followed the steps mentioned here:

How to remove a package from Laravel using composer?

including the step: Remove Service Provider from "app/config/app.php" (reference in "providers" array)

However, since I got an error:

In ProviderRepository.php line 208:

  Class 'Ckeditor\CkeditorServiceProvider' not found  

Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

The app is down and I cannot do any operation in terminal. How to get rid of the reference to this class?

Upvotes: 1

Views: 1243

Answers (1)

Hasan Teoman Tıngır
Hasan Teoman Tıngır

Reputation: 2901

Then run these commands.

php artisan cache:clear
composer dump-autoload -o

If an error occurs while clearing cache, then delete cache files under bootstrap/cache manually.

Upvotes: 2

Related Questions