Unnecessary information for users

If the user does not set a mandatory tag - forum shows him a set of errors.

error.png

Should be left only: "An exception occurred: This content must have at least 1 tag(s)."
Is not that right ?
 

Mike

XenForo developer
Staff member
There are (or should be) two things at play here:
  1. The backtrace will only be shown if you're an admin or have debug enabled.
  2. That isn't normally how that type of exception is triggered. We have seen this with some old versions of PHP, with certain combinations of PHP extensions. I haven't seen it for a while, but I believe it may be down to opcode caching with optimization?
 

Jeremy P

XenForo developer
Staff member
So, it turns out that users do not receive notification of the mandatory tag. It misleads them.
View attachment 132076
The exception should not be occurring in the first place. Users are notified about missing fields through a different mechanism.

As Mike said:
That isn't normally how that type of exception is triggered. We have seen this with some old versions of PHP, with certain combinations of PHP extensions. I haven't seen it for a while, but I believe it may be down to opcode caching with optimization?
 
Top