Missing messages in Visualforce page
As a best practice, pages should always present errors in a friendly manner to the user. Without including certain Visualforce tags, such as apex:pageMessages, apex:messages or apex:message, most warnings and error messages only appear in debug logs, leaving users without proper guidance.