ErrorException: Undefined variable: attachment
This occurs when uploading a new version of the attachment...
Code:
Fehlerinformation
ErrorException: Undefined variable: attachment - vault/core/controller/dm/attach/edit/vw.php:93
Generiert durch: hollosch, Vor 21 Minuten
Stapelverfolgung
#0 /../vault/core/controller/dm/attach/edit/vw.php(93): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/var/www/vhosts...', 93, Array)
#1 /../vault/core/controller/dm/attach/edit/xf.php(58): vw_DM_Attach_Edit_Controller->verify_attachmentid(4080)
#2 /../library/XenForo/DataWriter.php(995): vw_DM_Attach_Edit_Controller_XF->verify_attachmentid(4080, Object(vw_DM_Attach_Edit_Controller_XF), 'attachmentid', Array)
#3 /../library/XenForo/DataWriter.php(725): XenForo_DataWriter->_runVerificationCallback(Array, 4080, Array, 'attachmentid')
#4 /../library/XenForo/DataWriter.php(643): XenForo_DataWriter->_isFieldValueValid('attachmentid', Array, 4080, Array)
#5 /../vault/core/controller/dm/xf.php(237): XenForo_DataWriter->set('attachmentid', 4080, NULL)
#6 /../vault/core/controller/dm/attach/vw.php(305): vw_DM_Controller_XF->set('attachmentid', 4080)
#7 /../vault/core/controller/dm/attach/vw.php(160): vw_DM_Attach_Controller->process_attachment_edit()
#8 /../vault/core/controller/dm/attach/vw.php(311): vw_DM_Attach_Controller->pre_save(true)
#9 /../vault/core/controller/dm/attach/xf.php(38): vw_DM_Attach_Controller->save()
#10 /../vault/core/controller/dm/xf.php(415): vw_DM_Attach_Controller_XF->save()
#11 /../vault/core/controller/ui/edit/attach/vw.php(136): vw_DM_Controller_XF->save()
#12 /../vault/core/controller/ui/edit/vw.php(246): vw_UI_Edit_Attach_Controller->save_more(Array, Array)
#13 /../vault/core/controller/ui/page/vw.php(346): vw_UI_Edit_Controller->save(Object(vw_UI_Page_Controller_XF))
#14 /../vault/core/controller/ui/page/vw.php(133): vw_UI_Page_Controller->save()
#15 /../vault/core/controller/ui/page/xf.php(58): vw_UI_Page_Controller->execute()
#16 /../vault/core/controller/ui/stack/vw.php(276): vw_UI_Page_Controller_XF->execute()
#17 /../library/vw/XenForo/ControllerPublic/Wiki.php(70): vw_UI_Stack_Controller->execute()
#18 /../library/XenForo/FrontController.php(351): vw_XenForo_ControllerPublic_Wiki->actionIndex()
#19 /../library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#20 /../index.php(13): XenForo_FrontController->run()
#21 {main}
Benötigter Status
array(3) {
["url"] => string(75) "http://regio-portal.wiki/index.php?wiki/&title=btw2017_umfragen_png&do=save"
["_GET"] => array(3) {
["wiki/"] => string(0) ""
["title"] => string(20) "btw2017_umfragen_png"
["do"] => string(4) "save"
}
["_POST"] => array(24) {
["fakeupload"] => string(0) ""
["attachfileid"] => string(4) "4416"
["filehash"] => string(32) "4238acac6eabcd8d85fbf8dd1474a4a8"
["message_html"] => string(329) "<p>Quelle: <a href="https://de.wikipedia.org/wiki/Bundestagswahl_2017/Umfragen_und_Prognosen" target="_blank" class="externalLink ProxyLink" data-proxy-href="https://de.wikipedia.org/wiki/Bundestagswahl_2017/Umfragen_und_Prognosen" rel="nofollow">https://de.wikipedia.org/wiki/Bundestagswahl_2017/Umfragen_und_Prognosen</a></p>
"
["_xfRelativeResolver"] => string(75) "http://regio-portal.wiki/index.php?wiki/&title=btw2017_umfragen_png&do=save"
["query"] => string(0) ""
["reason"] => string(0) ""
["prefixid"] => string(1) "0"
["edittitle"] => string(20) "btw2017_umfragen.png"
["icontype"] => string(0) ""
["fonticon"] => string(4) "f016"
["icon"] => string(0) ""
["iconurl"] => string(0) ""
["_xfToken"] => string(8) "********"
["do"] => string(4) "save"
["section"] => string(1) "0"
["posthash"] => string(32) "4de88c4155b3f406c2af87dfe19808b5"
["poststarttime"] => string(10) "1496321959"
["revparentid"] => string(5) "24891"
["loggedinuser"] => string(1) "3"
["parseurl"] => string(1) "1"
["sbutton"] => string(9) "Speichern"
["notifytype"] => string(1) "1"
["sub_options"] => array(2) {
["item_edits"] => string(1) "1"
["item_comments"] => string(1) "1"
}
}
}