Magento 2: On product page HTTP ERROR 500
For the unexpected error (e.g 500), we should enable error reporting on the bootstrap:
app/bootstrap.php
ini_set('display_errors', -1) // Should enable error reporting with -1 value.
In your case, we need to check the places where you call your custom attributes which have been deleted.
Another way, we need to check the Apache error log.