InvalidArgumentException: Attempted to convert NULL to integer [parentprefixid] src/XF/Mvc/Entity/Entity.php:697
InvalidArgumentException: Attempted to convert NULL to integer [parentprefixid] src/XF/Mvc/Entity/Entity.php:697
Generiert von: hollosch 17. Januar 2019 um 14:35
Stack-Trace
#0 src/addons/vw/vw/XF/Entity/Entity.php(785): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'parentprefixid', 2, Array)
#1 src/XF/Mvc/Entity/Entity.php(575): vw\vw\XF\Entity\Entity->_castValueToType(NULL, 'parentprefixid', 2, Array)
#2 src/addons/vw/vw/XF/Entity/Entity.php(356): XF\Mvc\Entity\Entity->set('parentprefixid', NULL, Array)
#3 src/addons/vw/vw/_core/controller/dm/xf2.php(198): vw\vw\XF\Entity\Entity->set('parentprefixid', 22)
#4 src/addons/vw/vw/_core/controller/dm/base/routable/vw.php(499): vw_DM_Controller_XF2->set('parentprefixid', 22)
#5 src/addons/vw/vw/_core/controller/dm/page/vw.php(1550): vw_DM_Base_Routable_Controller->save_path(Array)
#6 src/addons/vw/vw/XF/Entity/Entity.php(574): vw_DM_Page_Controller->post_save_each()
#7 src/XF/Mvc/Entity/Entity.php(1165): vw\vw\XF\Entity\Entity->_postSave()
#8 src/addons/vw/vw/XF/Entity/Entity.php(501): XF\Mvc\Entity\Entity->save(false, false)
#9 src/addons/vw/vw/_core/controller/dm/xf2.php(363): vw\vw\XF\Entity\Entity->vwSave()
#10 src/addons/vw/vw/_core/controller/ui/imod/action/move/vw.php(106): vw_DM_Controller_XF2->save()
#11 src/addons/vw/vw/_core/controller/ui/imod/action/move/vw.php(87): vw_UI_iMod_Action_Move_Controller->process_move_type(Array, Array)
#12 src/addons/vw/vw/_core/controller/ui/imod/action/base/vw.php(91): vw_UI_iMod_Action_Move_Controller->perform_domove()
#13 src/addons/vw/vw/Handler/InlineMod/Base/AbstractAction.php(183): vw_UI_iMod_Action_base_Controller->process('domove')
#14 src/XF/InlineMod/AbstractAction.php(87): vw\vw\Handler\InlineMod\Base\AbstractAction->applyToEntity(Object(vw_DM_Page_Controller_XF2), Array)
#15 src/XF/InlineMod/AbstractAction.php(80): XF\InlineMod\AbstractAction->applyInternal(Object(XF\Mvc\Entity\ArrayCollection), Array)
#16 src/XF/Pub/Controller/InlineMod.php(131): XF\InlineMod\AbstractAction->apply(Object(XF\Mvc\Entity\ArrayCollection), Array)
#17 src/addons/vw/vw/XF/Pub/Controller/InlineMod.php(41): XF\Pub\Controller\InlineMod->actionPerform()
#18 src/XF/Mvc/Dispatcher.php(249): vw\vw\XF\Pub\Controller\InlineMod->actionPerform(Object(XF\Mvc\ParameterBag))
#19 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:InlineMod', 'Perform', 'json', Object(XF\Mvc\ParameterBag), '', Object(vw\vw\XF\Pub\Controller\InlineMod), NULL)
#20 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#21 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#22 src/XF.php(333): XF\App->run()
#23 index.php(13): XF::runApp('XF\\Pub\\App')
#24 {main}
-------------
Previous InvalidArgumentException: Attempted to convert NULL to integer - src/XF/Mvc/Entity/ValueFormatter.php:141
#0 src/XF/Mvc/Entity/Entity.php(693): XF\Mvc\Entity\ValueFormatter->castValueToType(NULL, 2, Array)
#1 src/addons/vw/vw/XF/Entity/Entity.php(785): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'parentprefixid', 2, Array)
#2 src/XF/Mvc/Entity/Entity.php(575): vw\vw\XF\Entity\Entity->_castValueToType(NULL, 'parentprefixid', 2, Array)
#3 src/addons/vw/vw/XF/Entity/Entity.php(356): XF\Mvc\Entity\Entity->set('parentprefixid', NULL, Array)
#4 src/addons/vw/vw/_core/controller/dm/xf2.php(198): vw\vw\XF\Entity\Entity->set('parentprefixid', 22)
#5 src/addons/vw/vw/_core/controller/dm/base/routable/vw.php(499): vw_DM_Controller_XF2->set('parentprefixid', 22)
#6 src/addons/vw/vw/_core/controller/dm/page/vw.php(1550): vw_DM_Base_Routable_Controller->save_path(Array)
#7 src/addons/vw/vw/XF/Entity/Entity.php(574): vw_DM_Page_Controller->post_save_each()
#8 src/XF/Mvc/Entity/Entity.php(1165): vw\vw\XF\Entity\Entity->_postSave()
#9 src/addons/vw/vw/XF/Entity/Entity.php(501): XF\Mvc\Entity\Entity->save(false, false)
#10 src/addons/vw/vw/_core/controller/dm/xf2.php(363): vw\vw\XF\Entity\Entity->vwSave()
#11 src/addons/vw/vw/_core/controller/ui/imod/action/move/vw.php(106): vw_DM_Controller_XF2->save()
#12 src/addons/vw/vw/_core/controller/ui/imod/action/move/vw.php(87): vw_UI_iMod_Action_Move_Controller->process_move_type(Array, Array)
#13 src/addons/vw/vw/_core/controller/ui/imod/action/base/vw.php(91): vw_UI_iMod_Action_Move_Controller->perform_domove()
#14 src/addons/vw/vw/Handler/InlineMod/Base/AbstractAction.php(183): vw_UI_iMod_Action_base_Controller->process('domove')
#15 src/XF/InlineMod/AbstractAction.php(87): vw\vw\Handler\InlineMod\Base\AbstractAction->applyToEntity(Object(vw_DM_Page_Controller_XF2), Array)
#16 src/XF/InlineMod/AbstractAction.php(80): XF\InlineMod\AbstractAction->applyInternal(Object(XF\Mvc\Entity\ArrayCollection), Array)
#17 src/XF/Pub/Controller/InlineMod.php(131): XF\InlineMod\AbstractAction->apply(Object(XF\Mvc\Entity\ArrayCollection), Array)
#18 src/addons/vw/vw/XF/Pub/Controller/InlineMod.php(41): XF\Pub\Controller\InlineMod->actionPerform()
#19 src/XF/Mvc/Dispatcher.php(249): vw\vw\XF\Pub\Controller\InlineMod->actionPerform(Object(XF\Mvc\ParameterBag))
#20 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:InlineMod', 'Perform', 'json', Object(XF\Mvc\ParameterBag), '', Object(vw\vw\XF\Pub\Controller\InlineMod), NULL)
#21 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#22 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#23 src/XF.php(333): XF\App->run()
#24 index.php(13): XF::runApp('XF\\Pub\\App')
#25 {main}
Status der Anfrage
array(4) {
["url"] => string(19) "/inline-mod/perform"
["referrer"] => string(44) "https://regio-portal.wiki/wiki/LJRBW?do=list"
["_GET"] => array(0) {
}
["_POST"] => array(9) {
["toarea"] => string(4) "4493"
["ids"] => array(8) {
[10000000006848] => string(14) "10000000006848"
[10000000006858] => string(14) "10000000006858"
[10000000007533] => string(14) "10000000007533"
[10000000007546] => string(14) "10000000007546"
[10000000007550] => string(14) "10000000007550"
[10000000007555] => string(14) "10000000007555"
[10000000007647] => string(14) "10000000007647"
[10000000007783] => string(14) "10000000007783"
}
["type"] => string(6) "vwpage"
["action"] => string(4) "move"
["confirmed"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(19) "/wiki/LJRBW?do=list"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}