$availableIncludes must be array #232
-
Team, Excellent work on laravel fractal. I have been using it for sometime but now I am stuck. Code works fine on localhost and dev but fails on production with this error message: _[2022-08-16 13:49:17] local.ERROR: Type of App\Api\V2\Transformers\AdTestTransformer::$availableIncludes must be array (as in class League\Fractal\TransformerAbstract) {"userId":29497,"exception":"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 64): It fails for all Transformers containing this line: I am not sure how to interpret this error. Can you please advise? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, we currently have no time to investigate this. We welcome a PR that fixes this for you. |
Beta Was this translation helpful? Give feedback.
-
Same error from another issue/discussion already "fixed": #230 |
Beta Was this translation helpful? Give feedback.
Same error from another issue/discussion already "fixed": #230