When an error message pops up (like from an empty form submission), it likely causes an uncaught JavaScript error that halts subsequent AJAX calls for rendering new messages. These messages then only appear on a page reload. To fix this, use your browser's developer tools (Console and Network tabs) to identify JavaScript errors and failed AJAX requests. Review your form TollByPlate submission and message rendering JavaScript code, ensuring proper error handling (using try...catch or .catch()) to prevent exceptions from breaking the AJAX functionality. Set breakpoints in your code to step through the execution during the error scenario.