Error 500 on space Content

Hello, I get this error on all my spaces running v2.8.3. It works fine until I try to go to the Content page, then it shows a 500 error. I have tried creating a new space, the issue still occurs. Is there any way to fix this? boostrap.php is unmodified from release v2.8.3. The Content page works perfectly fine on the home CMS data, just spaces have this issue. Thanks.

This was a simple concatenation mistake, unfortunately it took a lot of time to trace to that.

Is there any way to override the PHP 500 message to show the entire stack trace to the actual error file and error line?

Found it, I needed to turn on debug mode, was never aware about that feature.