Convert threads To Wiki fails with database error (XF 1.5)
Trial to convert thread to wiki fails with database error
In Xenforo 1.5.15. it's impossible to convert threads to wiki content due to database error
Code:
ErrorException: Undefined variable: out - vault/core/model/image/metadata/gif/vw.php:101
array(3) {
["url"] => string(79) "https://www.txxxxxxx/forum/index.php?wiki-moderate/&do=processimport&task=15"
["_GET"] => array(3) {
["wiki-moderate/"] => string(0) ""
["do"] => string(13) "processimport"
["task"] => string(2) "15"
}
["_POST"] => array(4) {
["_xfToken"] => string(8) "********"
["wiki-moderate/"] => string(0) ""
["do"] => string(13) "processimport"
["task"] => string(2) "15"
}
}
0 /var/www/vhosts/xxxxxx/httpdocs/forum/vault/core/model/image/metadata/gif/vw.php(101): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/var/www/vhosts...', 101, Array)
#1 /var/www/vhosts/xxxxxxx/httpdocs/forum/vault/core/model/image/metadata/vw.php(47): vw_Image_MetaData_GIF_Model->parse(Resource id #493)
#2 /var/www/vhosts/txxxxxx/httpdocs/forum/vault/core/model/image/vw.php(1508): vw_Image_Metadata_Model->__construct(Object(vw_Image_Structure_GIF_Model))
#3 /var/www/vhosts/txxxxxx/httpdocs/forum/vault/core/model/image/vw.php(404): vw_Image_Instance_Model->get_metadata(Object(vw_Image_Structure_GIF_Model))
#4 /var/www/vhosts/ttxxxxxx/httpdocs/forum/vault/core/model/image/vw.php(484): vw_Image_Instance_Model->init_metadata()
#5 /var/www/vhosts/ttxxxxxx/httpdocs/forum/vault/core/model/image/vw.php(616): vw_Image_Instance_Model->set_gd_info()
#6 /var/www/vhosts/txxxxxxx/httpdocs/forum/vault/core/controller/dm/attach/file/vw.php(955): vw_Image_Instance_Model->get_width()
#7 /var/www/vhosts/txxxxxu/httpdocs/forum/vault/core/controller/dm/attach/file/vw.php(237): vw_DM_Attach_File_Controller->set_dimensions()
#8 /var/www/vhosts/txxxxxx/httpdocs/forum/library/vw/XenForo/DataWriter.php(512): vw_DM_Attach_File_Controller->pre_save(true)
#9 /var/www/vhosts/txxxxxxx/httpdocs/forum/library/XenForo/DataWriter.php(1460): vw_XenForo_DataWriter->_preSave()
#10 /var/www/vhosts/txxxxxxx/httpdocs/forum/library/vw/XenForo/DataWriter.php(192): XenForo_DataWriter->preSave()
#11 /var/www/vhosts/ttxxxxxxu/httpdocs/forum/vault/core/controller/dm/xf.php(389): vw_XenForo_DataWriter->preSaveWithReturn()
#12 /var/www/vhosts/txxxxxx/httpdocs/forum/vault/core/controller/import/handle/internal/vw.php(1866): vw_DM_Controller_XF->pre_save()
#13 /var/www/vhosts/txxxxxxx/httpdocs/forum/vault/core/controller/import/handle/internal/vw.php(1762): vw_Import_Handle_Internal_Controller->create_wiki_attachment(Array, Array)
#14 /var/www/vhosts/txxxxxxxu/httpdocs/forum/vault/core/controller/import/handle/internal/vw.php(679): vw_Import_Handle_Internal_Controller->do_page_attachments(Array, Array)
#15 /var/www/vhosts/ttxxxxxxx/httpdocs/forum/vault/core/controller/import/handle/internal/vw.php(653): vw_Import_Handle_Internal_Controller->process_link_page(Array)
#16 /var/www/vhosts/txxxxxxu/httpdocs/forum/vault/core/controller/import/handle/internal/vw.php(618): vw_Import_Handle_Internal_Controller->process_target_links('page', Array)
#17 /var/www/vhosts/txxxxxxxx/httpdocs/forum/vault/core/controller/import/steps/internal/vw.php(302): vw_Import_Handle_Internal_Controller->do_links('thread', 'page', Array, 0)
#18 /var/www/vhosts/xxxxxxxu/httpdocs/forum/vault/core/model/cron/deferred/import/vw.php(110): vw_Import_Steps_Internal_Controller->{closure}('thread', 'page', Array, 0)
#19 /var/www/vhosts/ttxxxxxxu/httpdocs/forum/vault/core/controller/ui/imod/vw.php(1002): vw_Cron_Deferred_Import_Model->run(Array)
#20 /var/www/vhosts/xxxxxx/httpdocs/forum/vault/core/controller/ui/imod/vw.php(52): vw_UI_iMod_Controller->process_import()
#21 /var/www/vhosts/txxxxxxu/httpdocs/forum/library/vw/XenForo/ControllerPublic/Wiki/Moderate.php(51): vw_UI_iMod_Controller->execute()
#22 /var/www/vhosts/txxxxxxxu/httpdocs/forum/library/XenForo/FrontController.php(351): vw_XenForo_ControllerPublic_Wiki_Moderate->actionIndex()
#23 /var/www/vhosts/txxxxxxx/httpdocs/forum/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#24 /var/www/vhosts/txxxxxxx/httpdocs/forum/index.php(13): XenForo_FrontController->run()
#25 {main}