Problem: When trying to register a user, after submission you are redirected to a 500 server error, but the query to the database, meaning the insertion of the new user is successful.
Deactivated All Plugins
Renamed .htaccess file
Deactivated all Block Content in M2 and All Add-on Modules
Reset .htaccess by saving permalink structure
Tried a redirection function using the registration_redirect hook
Tried a redirection function using the login_redirect hook
Not sure what is going on. GL Team!