Issue with HTTP ERROR 500 when using "->groupsOnly()" method
Hello everyone,
I'm currently facing an issue and I'm struggling to understand why. Whenever I attempt to use the "->groupsOnly()" method to load closed groups in the table, it leads to a complete project breakdown with an "HTTP ERROR 500". Without utilizing this method, everything works flawlessly. Below, I've included the context in which I'm trying to implement it (following the documentation):
--- Code below in the comment (too many characters) ---
Any insights or assistance would be greatly appreciated! Thank you ๐
11 Replies

Without that method it's working fine...

Please enable error reporting to get a more detailed error.
You mean the classic laravel exception?
No, the classic laravel debug mode which will trigger the stack trace
It is already active. I can see other errors.

The method "->groupsOnly()" does not trigger this debug interface, its just an HTTP ERROR 500
Check your server 500 error logs
Oh, ty!
Anyway how is it possibile, it's just a single method ๐ฎ
Increase your memory allocation.