upgrade to Laravel 10
Of course, this should be solved AFTER solving issue #163
Apparently, Voyager became compatible with Laravel 10 when version 3.7 was released, see this discussion. So we should first upgrade voyager before going to Laravel 10.