The issue is that the element does not exist until the admin user actually triggers the error. A check needs to be added to only run that line of code when the error actually occurs because that is when the element will exist and be displayed on the front end.
References user story #170
The issue is that the element does not exist until the admin user actually triggers the error. A check needs to be added to only run that line of code when the error actually occurs because that is when the element will exist and be displayed on the front end.