Using a custom widget to add data from a custom post type into the sidebar
An error with a status code of 500 is an internal error. So there is something wrong with your theme. Your server logs should give you the error. You can find out how to access them from your server hoster. Please take a screenshot of them and update your question.