Skip to content

Conversation

@chadyred
Copy link

Q A
Branch? 4.2.7
Tickets -
License MIT
Doc PR -

Hello, a small error has prompt to me during the symfony bin/console daily command. The project doesn't have a api_platform.defaults key.

php bin/console deb:conf api_platform 

In ApiPlatformExtension.php line 312:
                                           
  Warning: Undefined array key "defaults"

As the other parameters' configuration, I use the null coeliscient operator (??) instead of the "array_key_exists"

Error during config DI processing 

```sh
compose --env-file .env-docker run --rm -t  php-cli php bin/console deb:conf api_platform 

In ApiPlatformExtension.php line 312:
                                           
  Warning: Undefined array key "defaults"
```
@soyuka
Copy link
Member

soyuka commented Nov 30, 2025

thanks!

@soyuka soyuka closed this Nov 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants