From Joomla! Documentation

The "500" error code is used within Joomla! to designate when the system has caused a fatal internal server error that the system believes it should not recover from. When this error is triggered, the system will immediately halt and display the error page.

As this error code is not unique within the system, there are various items that might trigger this error code to be displayed: