Server error on bulk edit
Edit seems to have worked fine, but seeing this in the logs:
Code:
ErrorException: [E_NOTICE] Undefined offset: 1 src/addons/vw/vw/_core/model/customfield/vw.php:1805
Generated by: mazzly Oct 5, 2022 at 11:01 AM
Stack trace
#0 src/addons/vw/vw/_core/model/customfield/vw.php(1805): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/nginx/dom...', 1805, Array)
#1 src/addons/vw/vw/_core/controller/cp/massive/vw.php(356): vw_CustomField_Model->transform(Array, Array, Object(Closure))
#2 src/addons/vw/vw/_core/controller/cp/massive/vw.php(322): vw_CP_Massive_Controller->process_field_replace(Array, Array)
#3 src/addons/vw/vw/_core/controller/cp/massive/vw.php(471): vw_CP_Massive_Controller->process_entry_changes(Array, Array)
#4 src/addons/vw/vw/_core/controller/cp/massive/vw.php(743): vw_CP_Massive_Controller->search()
#5 src/addons/vw/vw/_core/controller/cp/massive/vw.php(51): vw_CP_Massive_Controller->do_search()
#6 src/addons/vw/vw/Admin/Controller/Wiki.php(108): vw_CP_Massive_Controller->execute('dosearch', 'post')
#7 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Admin\Controller\Wiki->_actionIndex(Object(XF\Mvc\ParameterBag))
#8 src/addons/vw/vw/Admin/Controller/Wiki.php(51): vw\vw\Mvc\Dispatcher::dispatch(Object(vw\vw\Admin\Controller\Wiki), 'index', Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(350): vw\vw\Admin\Controller\Wiki->actionIndex(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('vw\\vw\\Admin\\Con...', 'Index', Object(XF\Mvc\RouteMatch), Object(vw\vw\Admin\Controller\Wiki), NULL)
#11 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\Admin\Controller\Wiki), NULL)
#12 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#14 src/XF.php(488): XF\App->run()
#15 admin.php(13): XF::runApp('XF\\Admin\\App')
#16 {main}
Request state
array(4) {
["url"] => string(24) "/admin.php?wiki/massive/"
["referrer"] => string(55) "https://www.com/admin.php?wiki/massive/"
["_GET"] => array(1) {
["wiki/massive/"] => string(0) ""
}
["_POST"] => array(22) {
["panel"] => string(7) "massive"
["do"] => string(8) "dosearch"
["_xfToken"] => string(8) "********"
["ct_checkjs"] => string(1) "0"
["action"] => string(7) "replace"
["areachoice"] => array(1) {
[0] => string(1) "0"
}
["prefixchoice"] => array(1) {
[0] => string(2) "-1"
}
["typechoice"] => array(1) {
[0] => string(1) "0"
}
["langchoice"] => array(1) {
[0] => string(1) "0"
}
["book"] => string(0) ""
["category"] => string(0) ""
["feed"] => string(0) ""
["replacetype"] => string(7) "replace"
["searchtype"] => string(3) "str"
["search"] => string(58) "[template]notcanon[/template][template]notcanon[/template]"
["replace"] => string(0) ""
["searchcount"] => string(1) "0"
["reason"] => string(28) "mass-edit performed by admin"
["url"] => string(55) "https://www.com/admin.php?wiki/massive/"
["_xfRequestUri"] => string(24) "/admin.php?wiki/massive/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}