메뉴 건너뛰기

24업데이트 / Illegal offset type in unset

업데이트 가이드에

 

- Illegal offset type in unset

플러그인에서 binding, signleton 등 코드를 변경해야합니다. 

 

위와 같은 오류가 발생해서서 살펴보고 있습니다.

 

기존 플러그인의 register()에서

 

app()->singleton(
    ['boon_point::handler' => Handler::class],
    function ($app) {
        $proxyClass = app('xe.interception')->proxy(Handler::class, 'BoonPoint');
        return new $proxyClass($this, app('xe.config'));
    }
);

 

이 코드를 부르고 있었습니다.

Illegal offset type in unset

 

에러가 나오는데, 

가이드상의 "signleton 등 코드를 변경해야합니다"라는 의미는 무엇인지요?

 

 

 

감사합니다.

  • share