You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I was reading the fast track, and discovered what I think is an error.
In chapter Setting up an Admin Backend, after implementing the __toString method, I tried to create a Conference but was met with the following message :
The method "isInternational" in class "App\Entity\Conference" requires 0 arguments, but should accept only 1..
I made sure to follow each previous step thoroughly, so unless something slipped past me, there may be an error somewhere.
I have not found a solution yet, but I'll make sure to share it here if I do.
Cheers 😄
The text was updated successfully, but these errors were encountered:
And I set the boolean field in my CRUD to use these test methods:
BooleanField::new('test'),
And it works now!
I think the problem might be coming from the property being called isInternational but I am fairly inexperienced with Symfony and I afraid I wouldn't know how to fix it.
Hope this will help anyways 🏃🏼
I have encountered the same problem.
Renaming isInternational() to getIsInternational() and setInternational() to setIsInternational() for Conference did solve it.
This is just a dirty quick fix and i hope someone can provide a proper solution.
Hello,
I was reading the fast track, and discovered what I think is an error.
In chapter Setting up an Admin Backend, after implementing the
__toString
method, I tried to create a Conference but was met with the following message :I made sure to follow each previous step thoroughly, so unless something slipped past me, there may be an error somewhere.
I have not found a solution yet, but I'll make sure to share it here if I do.
Cheers 😄
The text was updated successfully, but these errors were encountered: