$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? |
Answered by
jonaswebdev
Oct 7, 2022
Replies: 2 comments
|
Hi, we currently have no time to investigate this. We welcome a PR that fixes this for you. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Same error from another issue/discussion already "fixed": #230