Remove debug_backtrace to avoid "ArrayObject::serialize() must return a string or NULL".