Fixed 'Import Attatched Files' error

Lone Wolf

Well-known member
I'm currently importing from vb 3.7 on the new XF 1.2 install and I get the following error when trying to 'Import Attatched Files'

Fatal error: Call to undefined method XenForo_Model_Import::_importAttachment() in/home/site/public_html/ver3/library/XenForo/Model/Import.php on line 1906


XenForo developer
Staff member
Easy fix. In XenForo\Model\Import.php, look for "_importAttachment" and replace it with "importAttachment" (remove the underscore).