rtconner / laravel-tagging

Tag support for Laravel Eloquent models - Taggable Trait
MIT License
882 stars 168 forks source link

v3.2.1 - class '\Conner\Tagging\Util' not found #171

Closed paulhennell closed 5 years ago

paulhennell commented 5 years ago

Composer updated and got the latest version of this installed on a cloned repo. It immediately broke tests and tagging and just generally everything everywhere 😉 because of the following error:

ErrorException: call_user_func() expects parameter 1 to be a valid callback, class '\Conner\Tagging\Util' not found

[..]/vendor/rtconner/laravel-tagging/src/TaggingUtility.php:49

Was trying to work out if this is related to settings in the published config\tagging, but it looks like that still references '\Conner\Tagging\Util' so not really sure where the issue lies.

Going back to version 3.1.1 got everything working again, so assume it must be something in 3.2.

rtconner commented 5 years ago

Thanks for the report I’ll look into this tonight. I did remove that Util class, but maybe I missed something.

On Friday, July 5, 2019, Hennell notifications@github.com wrote:

Composer updated and got the latest version of this installed on a cloned repo. It immediately broke tests and tagging and just generally everything everywhere 😉 because of the following error:

ErrorException: call_user_func() expects parameter 1 to be a valid callback, class '\Conner\Tagging\Util' not found

[..]/vendor/rtconner/laravel-tagging/src/TaggingUtility.php:49

Was trying to work out if this is related to settings in the published config\tagging, but it looks like that still references '\Conner\Tagging\Util' so not really sure where the issue lies.

Going back to version 3.1.1 got everything working again, so assume it must be something in 3.2.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rtconner/laravel-tagging/issues/171?email_source=notifications&email_token=AACRVRLJAPJ7E2XK6VM74QLP55NDHA5CNFSM4H6L5XZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5SK56A, or mute the thread https://github.com/notifications/unsubscribe-auth/AACRVROAEUNGGSKGL2GN4H3P55NDHANCNFSM4H6L5XZQ .

rtconner commented 5 years ago

Yeah this was a bug, very sorry. I have a fix will release in a few hours.

rtconner commented 5 years ago

Release v3.2.2

Again, thanks for the report!