Authorizing joomla gets error 500

After i authorized the mautic plugin it led to this page with the error 500 msg.



This was the link it went to: http://vetece.com/administrator/?state=355e5f8031ac7447bb527f542079f6b6&code=ZmFlN2IyYzMwNjRmZGRkM2RhM2MxMjA4YjZhYWFkNzI0ZmU0NTFjMWQwNjlkY2I3YWFmNjU2ZDRkMDg0NTlhNQ



I was using oAuth2.

After i authorized the mautic plugin it led to this page with the error 500 msg.

This was the link it went to: http://vetece.com/administrator/?state=355e5f8031ac7447bb527f542079f6b6&code=ZmFlN2IyYzMwNjRmZGRkM2RhM2MxMjA4YjZhYWFkNzI0ZmU0NTFjMWQwNjlkY2I3YWFmNjU2ZDRkMDg0NTlhNQ

I was using oAuth2.

Hard to tell without the actual error message https://mautic.org/docs/en/tips/troubleshooting.html