Find the line where the relationship method is backwards for the schema.
The comments table has a post_id foreign key, but calling $comment->post throws an error.
Ready to try it?
Create a free account and subscribe to take "Fix a Relationship Defined on the Wrong Side". Earn 120 XP and track your internship progress.
Already have an account? Sign in