1

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?

aabk
  • 47
  • 1
  • 2
  • 8

1 Answers1

2

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.

Remco Beugels
  • 1,153
  • 1
  • 12
  • 21
Teoman Tıngır
  • 2,766
  • 2
  • 21
  • 41