use trigger_error if debug is on otherwise admin_notice to display an error message & Remove error css