slack-notification-channel: Driver [slack] not supported.

  • Slack Notification Channel Version: 2.0.0
  • Laravel Version: 5.8.9
  • PHP Version: 7.2.8
  • Database Driver & Version: MySql

Description:

I’ve upgraded Laravel version from 5.7 to 5.8 and installed slack notification channel package via composer. But somehow slack notifications stopped working. composer dumpautoload discovers this package but seems like it’s not registering slack notification channel.

I’ve traced the code with xdebug and found that createSlackDriver() method is not found on laravel/framework/src/Illuminate/Support/Manager.php:95. Due to this “Driver [slack] not supported” exception occurs.

image

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 2
  • Comments: 30 (9 by maintainers)

Most upvoted comments

In case anyone else turns up here from googling the same error:

php artisan config:clear php artisan cache:clear php artisan package:discover

fixed it for me.