Closed devfrey closed 2 years ago
Sounds good, thanks!
@itsgoingd Is there any chance you could tag a patch release for this?
Hey, thanks for reminder, completely forgot about this. I have one more thing I would like to do before release, I'll try to get this out later this week. Feel free to remind me again if that doesn't happen. 😅
Tagged 5.1.8 incl this fix, thanks!
Consider the following model:
When Clockwork tries to collect information about this user, it accesses the
$name
property. Laravel assumes you're trying to call thename
relationship defined in thename()
method (which isn't a relationship in this example). It then throws aLogicException
: "Model::name must return a relationship instance.".By checking the
user()
method doesn't exist this exception can be avoided.