We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BotApiInterface::getUserProfilePhotos(GetUserProfilePhotosMethod::create($id));
was throw this error:
Uncaught Error: Cannot use object of type stdClass as array In UserProfilePhotosNormalizer.php line 54: Cannot use object of type stdClass as array
Uncaught Error: Cannot use object of type stdClass as array
In UserProfilePhotosNormalizer.php line 54:
Cannot use object of type stdClass as array
Please replace line 54 of UserProfilePhotosNormalizer to $data->photos = $serializer->denormalize($data->photos, PhotoSizeType::class . '[][]');
$data->photos = $serializer->denormalize($data->photos, PhotoSizeType::class . '[][]');
The text was updated successfully, but these errors were encountered:
#18 fixed stdObject property call inUserProfilePhotosNormalizer
15a12fc
#18 updated changelog
80c2aa4
fixed in #19 pr
Sorry, something went wrong.
No branches or pull requests
Detailed description
BotApiInterface::getUserProfilePhotos(GetUserProfilePhotosMethod::create($id));
was throw this error:
Please replace line 54 of UserProfilePhotosNormalizer to
$data->photos = $serializer->denormalize($data->photos, PhotoSizeType::class . '[][]');
The text was updated successfully, but these errors were encountered: