@vincej try clearing your view cache: php artisan view:clear
Upgrade to Laravel 8 and PHP 8 Gives Laravel Error
I followed the recommendations on the L8 docs and I am now getting this error. Everything worked fine in L7.2. I tried just doing a simple "hello World" in L8 and it worked fine:
method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given
The laravel debug console says the problem stems within my view inside form builder
C:\laragon\www\KidsClub\vendor\laravelcollective\html\src\FormBuilder.php:1365
but I can not see for the life of me where this could be. Does this mean Form Builder no longer works with L8?
I could post the whole of my view, but it is quite long.
Many thanks !
Also it being laravelcollective, check their site for PHP 8 issues.
I.e., https://github.com/LaravelCollective/html/issues/672
I now also have PHP 8, but have had no issues. But I do not use the laravel collective.
Please or to participate in this conversation.