[4.1.0 RC1 Build 3] Errors Upon New Category Creation
The following errors were thrown during the creation of a new category
Creating a simple new category threw the following errors:
ERROR 1:
ErrorException: [E_NOTICE] Trying to access array offset on value of type bool src/addons/vw/vw/_core/controller/ui/edit/vw.php:486
Generated by: gerryvz Feb 26, 2020 at 9:42 AM
Stack trace
#0 src/addons/vw/vw/_core/controller/ui/edit/vw.php(486): XF::handlePhpError()
#1 src/addons/vw/vw/_core/controller/ui/edit/vw.php(291): vw_UI_Edit_Controller->save_redirect()
#2 src/addons/vw/vw/_core/controller/ui/create/vw.php(441): vw_UI_Edit_Controller->save()
#3 src/addons/vw/vw/_core/controller/ui/index/vw.php(73): vw_UI_Create_Controller->publish()
#4 src/addons/vw/vw/_core/controller/ui/index/vw.php(33): vw_UI_Index_Controller->publish()
#5 src/addons/vw/vw/_core/controller/ui/stack/vw.php(294): vw_UI_Index_Controller->execute()
#6 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
#7 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex()
#8 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch()
#9 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex()
#10 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#11 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#12 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#13 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#14 src/XF.php(391): XF\App->run()
#15 index.php(20): XF::runApp()
#16 {main}
Request state
array(4) {
["url"] => string(38) "/forums/wiki/?do=publish&itemtypeid=19"
["referrer"] => string(61) "https://www.500eboard.co/forums/wiki/?do=create&itemtypeid=19"
["_GET"] => array(2) {
["do"] => string(7) "publish"
["itemtypeid"] => string(2) "19"
}
["_POST"] => array(27) {
["message_html"] => string(34) "<p>500E/E500 Electrical System</p>"
["query"] => string(0) ""
["prefixid"] => string(1) "0"
["edittitle"] => string(29) "500E / E500 Electrical System"
["typelist"] => array(4) {
[18] => string(1) "0"
[19] => string(1) "1"
[29] => string(1) "0"
[32] => string(1) "0"
}
["areaid"] => string(1) "2"
["itemlangid"] => string(1) "1"
["icontype"] => string(0) ""
["fonticon"] => string(4) "f15b"
["fontstyle"] => string(1) "r"
["parseurl"] => string(1) "1"
["untabbed"] => string(1) "0"
["autolink"] => string(2) "-2"
["notifytype"] => string(2) "-1"
["do"] => string(7) "publish"
["itemtypeid"] => string(2) "19"
["indexid"] => string(1) "1"
["section"] => string(1) "0"
["posthash"] => string(32) "d165eb329bb0b1a83e9f44e34d3cd33b"
["poststarttime"] => string(10) "1582728082"
["revparentid"] => string(0) ""
["loggedinuser"] => string(1) "1"
["_xfToken"] => string(8) "********"
["sbutton"] => string(9) "undefined"
["_xfRequestUri"] => string(37) "/forums/wiki/?do=create&itemtypeid=19"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
ERROR 2:
ErrorException: [E_NOTICE] Trying to access array offset on value of type bool src/addons/vw/vw/_core/controller/dm/route/vw.php:231
Generated by: gerryvz Feb 26, 2020 at 9:42 AM
Stack trace
#0 src/addons/vw/vw/_core/controller/dm/route/vw.php(231): XF::handlePhpError()
#1 src/addons/vw/vw/XF/Entity/EntityBase.php(490): vw_DM_Route_Controller->pre_save()
#2 src/addons/vw/vw/_core/controller/dm/route/xf2.php(62): vw\vw\XF\Entity\EntityBase->_preSave()
#3 src/XF/Mvc/Entity/Entity.php(1297): vw_DM_Route_Controller_XF2->_preSave()
#4 src/addons/vw/vw/XF/Entity/EntityBase.php(481): XF\Mvc\Entity\Entity->preSave()
#5 src/addons/vw/vw/XF/Entity/EntityBase.php(536): vw\vw\XF\Entity\EntityBase->vwPreSave()
#6 src/addons/vw/vw/_core/controller/dm/xf2.php(369): vw\vw\XF\Entity\EntityBase->vwSave()
#7 src/addons/vw/vw/_core/controller/dm/base/routable/vw.php(520): vw_DM_Controller_XF2->save()
#8 src/addons/vw/vw/_core/controller/dm/page/vw.php(1696): vw_DM_Base_Routable_Controller->save_path()
#9 src/addons/vw/vw/XF/Entity/EntityBase.php(633): vw_DM_Page_Controller->post_save_each()
#10 src/XF/Mvc/Entity/Entity.php(1208): vw\vw\XF\Entity\EntityBase->_postSave()
#11 src/addons/vw/vw/XF/Entity/EntityBase.php(556): XF\Mvc\Entity\Entity->save()
#12 src/addons/vw/vw/_core/controller/dm/xf2.php(369): vw\vw\XF\Entity\EntityBase->vwSave()
#13 src/addons/vw/vw/_core/controller/ui/edit/vw.php(231): vw_DM_Controller_XF2->save()
#14 src/addons/vw/vw/_core/controller/ui/create/vw.php(441): vw_UI_Edit_Controller->save()
#15 src/addons/vw/vw/_core/controller/ui/index/vw.php(73): vw_UI_Create_Controller->publish()
#16 src/addons/vw/vw/_core/controller/ui/index/vw.php(33): vw_UI_Index_Controller->publish()
#17 src/addons/vw/vw/_core/controller/ui/stack/vw.php(294): vw_UI_Index_Controller->execute()
#18 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
#19 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex()
#20 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch()
#21 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex()
#22 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#23 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#24 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#25 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#26 src/XF.php(391): XF\App->run()
#27 index.php(20): XF::runApp()
#28 {main}
Request state
array(4) {
["url"] => string(38) "/forums/wiki/?do=publish&itemtypeid=19"
["referrer"] => string(61) "https://www.500eboard.co/forums/wiki/?do=create&itemtypeid=19"
["_GET"] => array(2) {
["do"] => string(7) "publish"
["itemtypeid"] => string(2) "19"
}
["_POST"] => array(27) {
["message_html"] => string(34) "<p>500E/E500 Electrical System</p>"
["query"] => string(0) ""
["prefixid"] => string(1) "0"
["edittitle"] => string(29) "500E / E500 Electrical System"
["typelist"] => array(4) {
[18] => string(1) "0"
[19] => string(1) "1"
[29] => string(1) "0"
[32] => string(1) "0"
}
["areaid"] => string(1) "2"
["itemlangid"] => string(1) "1"
["icontype"] => string(0) ""
["fonticon"] => string(4) "f15b"
["fontstyle"] => string(1) "r"
["parseurl"] => string(1) "1"
["untabbed"] => string(1) "0"
["autolink"] => string(2) "-2"
["notifytype"] => string(2) "-1"
["do"] => string(7) "publish"
["itemtypeid"] => string(2) "19"
["indexid"] => string(1) "1"
["section"] => string(1) "0"
["posthash"] => string(32) "d165eb329bb0b1a83e9f44e34d3cd33b"
["poststarttime"] => string(10) "1582728082"
["revparentid"] => string(0) ""
["loggedinuser"] => string(1) "1"
["_xfToken"] => string(8) "********"
["sbutton"] => string(9) "undefined"
["_xfRequestUri"] => string(37) "/forums/wiki/?do=create&itemtypeid=19"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
ERROR 3:
ErrorException: [E_NOTICE] Trying to access array offset on value of type bool src/addons/vw/vw/_core/view/factory/content/vw.php:336
Generated by: gerryvz Feb 26, 2020 at 9:42 AM
Stack trace
#0 src/addons/vw/vw/_core/view/factory/content/vw.php(336): XF::handlePhpError()
#1 src/addons/vw/vw/_core/controller/ui/edit/page/vw.php(247): vw_Factory_Content_View->get_placeholder_text()
#2 src/addons/vw/vw/_core/controller/ui/edit/page/xf0.php(21): vw_UI_Edit_Page_Controller->start_dm()
#3 src/addons/vw/vw/_core/controller/ui/edit/vw.php(158): vw_UI_Edit_Page_Controller_XF0->start_dm()
#4 src/addons/vw/vw/_core/controller/ui/create/vw.php(441): vw_UI_Edit_Controller->save()
#5 src/addons/vw/vw/_core/controller/ui/index/vw.php(73): vw_UI_Create_Controller->publish()
#6 src/addons/vw/vw/_core/controller/ui/index/vw.php(33): vw_UI_Index_Controller->publish()
#7 src/addons/vw/vw/_core/controller/ui/stack/vw.php(294): vw_UI_Index_Controller->execute()
#8 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
#9 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex()
#10 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch()
#11 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex()
#12 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#13 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#14 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#15 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#16 src/XF.php(391): XF\App->run()
#17 index.php(20): XF::runApp()
#18 {main}
Request state
array(4) {
["url"] => string(38) "/forums/wiki/?do=publish&itemtypeid=19"
["referrer"] => string(61) "https://www.500eboard.co/forums/wiki/?do=create&itemtypeid=19"
["_GET"] => array(2) {
["do"] => string(7) "publish"
["itemtypeid"] => string(2) "19"
}
["_POST"] => array(27) {
["message_html"] => string(34) "<p>500E/E500 Electrical System</p>"
["query"] => string(0) ""
["prefixid"] => string(1) "0"
["edittitle"] => string(29) "500E / E500 Electrical System"
["typelist"] => array(4) {
[18] => string(1) "0"
[19] => string(1) "1"
[29] => string(1) "0"
[32] => string(1) "0"
}
["areaid"] => string(1) "2"
["itemlangid"] => string(1) "1"
["icontype"] => string(0) ""
["fonticon"] => string(4) "f15b"
["fontstyle"] => string(1) "r"
["parseurl"] => string(1) "1"
["untabbed"] => string(1) "0"
["autolink"] => string(2) "-2"
["notifytype"] => string(2) "-1"
["do"] => string(7) "publish"
["itemtypeid"] => string(2) "19"
["indexid"] => string(1) "1"
["section"] => string(1) "0"
["posthash"] => string(32) "d165eb329bb0b1a83e9f44e34d3cd33b"
["poststarttime"] => string(10) "1582728082"
["revparentid"] => string(0) ""
["loggedinuser"] => string(1) "1"
["_xfToken"] => string(8) "********"
["sbutton"] => string(9) "undefined"
["_xfRequestUri"] => string(37) "/forums/wiki/?do=create&itemtypeid=19"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
ERROR 4:
This error was logged after I added a simple comment to an existing Wiki entry.
ErrorException: [E_NOTICE] Undefined index: displayorder src/addons/vw/vw/_core/controller/ui/discussion/vw.php:1437
Generated by: gerryvz Feb 26, 2020 at 9:40 AM
Stack trace
#0 src/addons/vw/vw/_core/controller/ui/discussion/vw.php(1437): XF::handlePhpError()
#1 src/addons/vw/vw/_core/controller/ui/discussion/vw.php(323): vw_UI_Discussion_Controller->reply_permissions()
#2 src/addons/vw/vw/_core/controller/ui/discussion/vw.php(124): vw_UI_Discussion_Controller->postcomment()
#3 src/addons/vw/vw/_core/controller/ui/discussion/xf0.php(61): vw_UI_Discussion_Controller->execute()
#4 src/addons/vw/vw/_core/controller/ui/discussion/xf2.php(28): vw_UI_Discussion_Controller_XF0->execute()
#5 src/addons/vw/vw/_core/controller/ui/page/vw.php(889): vw_UI_Discussion_Controller_XF2->execute()
#6 src/addons/vw/vw/_core/controller/ui/page/vw.php(841): vw_UI_Page_Controller->do_comments()
#7 src/addons/vw/vw/_core/controller/ui/page/vw.php(215): vw_UI_Page_Controller->comments()
#8 src/addons/vw/vw/_core/controller/ui/stack/vw.php(294): vw_UI_Page_Controller->execute()
#9 src/addons/vw/vw/Pub/Controller/Wiki/Wiki.php(80): vw_UI_Stack_Controller->execute()
#10 src/addons/vw/vw/Mvc/Dispatcher.php(30): vw\vw\Pub\Controller\Wiki\Wiki->_actionIndex()
#11 src/addons/vw/vw/Pub/Controller/Wiki/AbstractController.php(26): vw\vw\Mvc\Dispatcher::dispatch()
#12 src/XF/Mvc/Dispatcher.php(350): vw\vw\Pub\Controller\Wiki\AbstractController->actionIndex()
#13 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#14 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#15 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#16 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#17 src/XF.php(391): XF\App->run()
#18 index.php(20): XF::runApp()
#19 {main}
Request state
array(4) {
["url"] => string(68) "/forums/wiki/?title=500E-and-E500-CAN-Computer-Part-Number-Reference"
["referrer"] => string(92) "https://www.500eboard.co/forums/wiki/?title=500E-and-E500-CAN-Computer-Part-Number-Reference"
["_GET"] => array(1) {
["title"] => string(48) "500E-and-E500-CAN-Computer-Part-Number-Reference"
}
["_POST"] => array(12) {
["quickreply_html"] => string(32) "<p>This is a sample comment.</p>"
["do"] => string(8) "comments"
["action"] => string(11) "postcomment"
["fromquickreply"] => string(1) "1"
["attachment_hash"] => string(32) "fb6c23538d2d83b3d1e9363f051ff5ac"
["attachment_hash_combined"] => string(130) "{"type":"vwcomment","context":{"contentid":286,"contentt ypeid":1,"areaid":5,"userid":1},"hash":"fb6c23538d2d83b3d 1e9363f051ff5ac"}"
["last_date"] => string(1) "0"
["last_known_date"] => string(10) "1582728034"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(68) "/forums/wiki/?title=500E-and-E500-CAN-Computer-Part-Number-Reference"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}