laravel-query-detector icon indicating copy to clipboard operation
laravel-query-detector copied to clipboard

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

Open ivex001 opened this issue 4 years ago • 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

ivex001 avatar Mar 11 '21 22:03 ivex001

Same for me. Laravel 8.31, PHP 7.4.3

sentisso avatar Mar 13 '21 23:03 sentisso

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

Mokei-it avatar Mar 16 '21 06:03 Mokei-it

Same for me. Laravel 8.33, PHP 8.0

buzzclue avatar Mar 17 '21 20:03 buzzclue

Same for me. Laravel 8, PHP 7.4

soufiansaidi avatar Mar 24 '21 10:03 soufiansaidi

Same for me. Laravel 8.29 PHP 7.3.23

onuruslu avatar Mar 30 '21 13:03 onuruslu

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

rvanbaalen avatar Mar 31 '21 15:03 rvanbaalen

Same here

lironsam avatar Apr 02 '21 13:04 lironsam

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

ndberg avatar May 18 '21 12:05 ndberg

Problem is your configuration is cached.

sail artisan optimize:clear should fix it

zlokomatic avatar Jun 29 '21 18:06 zlokomatic

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

reasecret avatar Jul 10 '21 22:07 reasecret

:+1:

asandri-mmo avatar Sep 06 '22 09:09 asandri-mmo