atmaboy
9 months ago
3734
11
Nova

Class name must be a valid object or a string error

Posted 9 months ago by atmaboy

Laravel Version: 6.9.0 Nova Version: 2.9.2 PHP Version: 7.3.10

After update nova to latest version error on

/vendor/laravel/nova/src/Nova.php224

return $resource::authorizedToViewAny($request)

ErrorException (E_ERROR)
Class name must be a valid object or a string (View: /var/www/cportal/data/www/mysite.com/vendor/laravel/nova/resources/views/layout.blade.php) (View: /var/www/cportal/data/www/mysite.com/vendor/laravel/nova/resources/views/layout.blade.php)
Previous exceptions
Class name must be a valid object or a string (View: /var/www/cportal/data/www/mysite.com/vendor/laravel/nova/resources/views/layout.blade.php) (0)
Class name must be a valid object or a string (0)

image

Please sign in or create an account to participate in this conversation.