-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Typed property must not be accessed before initialization #162
Comments
Can you provide the ORM version, list of connected entities and full stack trace. |
|
What i'm trying to do
As a temporal solution i removed type |
Как временное решение можно также определять поле как |
Если I’d генерируясь базой то он должен быть nullable. По другому ОРМ просто не знает где взять данные. |
|
@wolfy-j what? |
Использую PHP 7.4
Обычные сущности для Many To Many.
Пытаюсь связать существующие записи.
Ругается на типизированное свойство в pivot entity при сохранении.
Typed property App\CategoryContractor::$id must not be accessed before initialization
The text was updated successfully, but these errors were encountered: