throwable: TypeError: Cycle\ORM\Select::__construct(): Argument #2 ($role) must be of type string, null given,
高端VPN,微科 VPN 专线VPN,独立IP TikTok梯子,独享60元/月包年高速直连, 流畅播放Youtube 8K 视频不满意随时退款, QQ 2553878266
throwable: TypeError: Cycle\ORM\Select::__construct(): Argument #2 ($role) must be of type string, null given, called in /vendor/yiisoft/factory/src/Definition/ArrayDefinitionBuilder.php on line 55 and defined in /var/www/html/merchant-api.liangyoucai.com/vendor/cycle/orm/src/Select.php:64
评论
登陆评论
墨鱼VPN
评论时间2021.07.13 22:45
public function __construct(
CurrentUser $currentUser,
MerchantUserRepository $userRepository,
AuthRoleRepository $authRoleRepository
) {
$this->currentUser = $currentUser;
$this->userRepository = $userRepository;
$this->authRoleRepository = $authRoleRepository;
}
构造函数有三个变量,第三个repository 没有就是为NULL了,他扩展了Select ,参数什么的都没有就报错