Skip to content

[Turbo] Cannot access private property App\Entity\... #1873

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

Closed
seb-jean opened this issue May 29, 2024 · 0 comments
Closed

[Turbo] Cannot access private property App\Entity\... #1873

seb-jean opened this issue May 29, 2024 · 0 comments
Labels

Comments

@seb-jean
Copy link
Contributor

seb-jean commented May 29, 2024

Hello,

I wanted to create an example for #1867 but I encountered another error.

I then created this issue to see how to correct the error I encounter: when I modify an entity, I get the following error: Cannot access private property App\Entity\Book::$id

Here is the GitHub repository which reproduces the error: https://github.com/seb-jean/symfony-ux-issue-1867

It looks like this issue:
symfony/symfony#49367

You would then have to use getters instead of properties.

PR: #1874

Capture d'écran 2024-05-29 101728

@kbond kbond closed this as completed Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants