Fixed delete_reason in xf_deletion_log

Affected version


Well-known member
If the VBulletin deletion reason is larger than 100 characters it can throw a query exception error. Temporary workaround is

alter table xf_deletion_log modify delete_reason text not null default '';

After the import completes

alter table xf_deletion_log modify varchar(100) not null default '';

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.1.8).

Change log:
When importing deletion log entries, ensure the username and reason do not exceed the allowed max lengths.
There may be a delay before changes are rolled out to the XenForo Community.

Chris D

XenForo developer
Staff member
We have a more permanent fix incoming in XF 2.1.8 but this is also worked around in the vBulletin importer directly in XFI 1.3.2.