When you test the changes you applied, are you trying it in the server's local or are you checking it from a different environment? Because if you try this in the server, it will already show you the error because it considers you safe.