Closed zoriax closed 1 year ago
Hi @zoriax!
Fatal error: Uncaught Error: Call to a member function toDateTimeString() on bool in \LdapRecord\Traits\ProcessAttributes.php:438 Stack trace: #0
This trait isn't apart of the LdapRecord package. Is what you've shown the only logic taking place inside?
Also, have you added any additional $casts
to an LdapRecord model that may be causing this?
EDIT In fact, this method (toDateTimestring
) is never actually called anywhere in the core LdapRecord source -- only inside of the test suite:
https://github.com/search?q=repo%3ADirectoryTree%2FLdapRecord%20toDateTimeString&type=code
Hi @stevebauman,
Sorry for my late answer. You are totally right, the problem was on my own ;-) !
Don't waste your time and sorry for that...
No worries @zoriax! Appreciate you replying here and closing this out 🙏
Hi @stevebauman
I have an error on Group model with
members()->get()->toArray()
. It finisehd withAs a workaround, this work fine :
Could you please check that ?
Thanks !