Rigel Kentaurus
Well-known member
XenForo_Error has a call inside debug that makes use of func_get_args()

Unfortunately, this cannot be used as a method parameter before php 5.3

Because of this, people using PHP 5.3, with debug mode enabled, would get an error when XenForo_Error::debug() is called
A workaround would be storing the result in a variable instead.
I checked the XenForo front page and it says compatible with PHP 5.2.6+, so I guess this is a small bug.

Unfortunately, this cannot be used as a method parameter before php 5.3

Because of this, people using PHP 5.3, with debug mode enabled, would get an error when XenForo_Error::debug() is called
A workaround would be storing the result in a variable instead.
I checked the XenForo front page and it says compatible with PHP 5.2.6+, so I guess this is a small bug.