By default display error messages are disabled in School Management Software that is the reason every time if there is any error occurred system is showing 500 error message. This is due to School Management Software environment is set for production . To enable display error message you should change School Management Software environment from production to development.
Please do the following changes in code files to change environment
Open file \index.php in any editor carefully from your installation folder and find
and change it to
Be aware that in development mode you may see some errors and deprecation warnings, for this reason, it’s always recommended to set the environment to “production” .
Do not forget to turn it back to production when you have finished the error checking or debugging