Skip to content
New issue

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

PHP Errors when upgrading to Symfony 5.4 #257

Closed
giteshk opened this issue Apr 27, 2023 · 1 comment
Closed

PHP Errors when upgrading to Symfony 5.4 #257

giteshk opened this issue Apr 27, 2023 · 1 comment
Assignees
Labels
bug Something isn't working Drupal 10 Preparation

Comments

@giteshk
Copy link
Member

giteshk commented Apr 27, 2023

Below are errors reported when upgrading Symfony components to version 5.4 :

  1. Attempt to read property "developer" on array
  2. TypeError: array_slice(): Argument # 2 ($offset) must be of type int, string given
  3. Attempt to read property "type" on array
  4. Symfony\Component\Serializer\Exception\UnexpectedValueException: Unable to denormalize because both "developerId" and "companyName" are missing from data.
  5. Failed asserting that exception of type "TypeError" matches expected exception "\InvalidArgumentException". Message was: "Symfony\Component\Serializer\Encoder\JsonDecode::__construct(): Argument # 1 ($defaultContext) must be of type array, bool given, called in FileSystemResponseFactory.php on line 65"
  6. Error: Cannot instantiate abstract class Apigee\Edge\Api\Monetization\Structure\Reports\Criteria\AbstractCriteria
@giteshk giteshk added the bug Something isn't working label Apr 27, 2023
@giteshk giteshk self-assigned this Apr 27, 2023
@giteshk giteshk assigned divya-intelli and unassigned giteshk May 15, 2023
@divya-intelli
Copy link
Collaborator

divya-intelli commented May 30, 2023

As per symfony's steps to upgrade , it is recommended to first upgrade to 5.4.
The above errors are fixed in PR #262. Hence closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Drupal 10 Preparation
Projects
None yet
Development

No branches or pull requests

2 participants