Find the line with a cast type that won't behave like a Carbon instance.
Calling ->diffForHumans() on $post->published_at throws a 'method does not exist' error.
Ready to try it?
Create a free account and subscribe to take "Fix an Incorrect Date Cast". Earn 120 XP and track your internship progress.
Already have an account? Sign in