statikbe / laravel-cookie-consent

The package includes a script & styling for a cookie banner and a modal where the visitor can select his/her cookie preferences.
MIT License
159 stars 27 forks source link

No hint path defined for [cookie-consent]. #55

Open kirti-u opened 1 year ago

kirti-u commented 1 year ago

I have installed this. working on my local fine. but getting error 'No hint path defined for [cookie-consent].' on server. I added this in app/Http/Kerne.php to include it in my entire project: \Statikbe\CookieConsent\CookieConsentMiddleware::class

mikeliniguez commented 9 months ago

same problem, but with this error: Target class [Statikbe\CookieConsent\CookieConsentMiddleware] does not exist.

kreets commented 8 months ago

No hint path defined for [cookie-consent] You should upload app, bootstrap and config folders. cookie-consent path namespace are set in the CookieConsentServiceProvider which cached in the bootstrap/cache folder