beyondcode/laravel-query-detector

Error "Argument #2 ($concrete) must be of type Closure|string|null" after install

ivex001 opened this issue · 11 comments

Hi there im receiving this error after installation. If i remove the package the error goes away.
Captura de ecrã 2021-03-11 211739

Im using laravel 8 and php 8.0.2
Thanks in advance

Same for me.
Laravel 8.31, PHP 7.4.3

The same for me: Laravel 8.32.1, PHP 7.4.1
Thank you in advance!

Same for me.
Laravel 8.33, PHP 8.0

Same for me.
Laravel 8, PHP 7.4

Same for me.
Laravel 8.29 PHP 7.3.23

Jup.. the current release seems broken. I'm on Laravel 7 with PHP 7.4 and get the same error.

Same here

I'm on PHP 7.4 and Laravel 8.37 and it's working

Problem is your configuration is cached.

sail artisan optimize:clear should fix it

I got same error and php artisan config:cache solved my issue.
Laravel 8 and PHP 7.4

👍