Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 5.8 Class blade.compiler does not exist #6

Closed
brandonsimpson opened this issue Sep 9, 2019 · 2 comments
Closed

Laravel 5.8 Class blade.compiler does not exist #6

brandonsimpson opened this issue Sep 9, 2019 · 2 comments

Comments

@brandonsimpson
Copy link

After adding the service provider Longman\LaravelLodash\LodashServiceProvider::class, the application throws the error "Class blade.compiler does not exist".

In the LodashServiceProvider.php it is loading $this->registerBladeDirectives(); in the register() method instead of the boot() method. Laravel 5.8 requires blade directives to be loaded in the boot method.

https://laravel.com/docs/5.8/blade#extending-blade

@brandonsimpson
Copy link
Author

Seems like this is fixed on master but composer require defaults to 1.0.2

@akalongman
Copy link
Owner

I will release master as 2.x version and will be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants