I added a module by these command
php bin/magento module:status php bin/magento module:enable module
Everything was fine then I run this
php bin/magento setup:upgrade
After this everything messed up, The output of this command is
php bin/magento setup:upgrade Cache cleared successfully File system cleanup: /home/xyz/public_html/var/generation/Composer /home/xyz/public_html/var/generation/Magento /home/xyz/public_html/var/generation/Symfony The directory '/home/xyz/public_html/var/di/' doesn't exist - skipping cleanup Updating modules: Schema creation/updates:
And after the execution of this command My site returning HTTP ERROR 500.
Any Idea how to solve this ??