Upon editing an article I get the following error. The edit seems to go through anyway but the error is quite annoying. I'm posting here hoping someone knows what's going on.
vB_Legacy_Forum does not have a field 'lastthreadid' on line 40 in /path/to/my/vb/legacy/dataobject.php
#0 /path/to/my/vb/legacy/forum.php(60): vB_Legacy_Dataobject->get_field('lastthreadid')
#1 /path/to/my/vb/legacy/thread.php(470): vB_Legacy_Forum->get_field('lastthreadid')
#2 /path/to/my/vb/legacy/thread.php(434): vB_Legacy_Thread->delete_internal(false, Object(vB_Legacy_CurrentUser), '', true)
#3 /path/to/my/packages/vbcms/dm/node.php(1099): vB_Legacy_Thread->soft_delete(Object(vB_Legacy_CurrentUser), '', true)
#4 /path/to/my/packages/vbcms/dm/article.php(169): vBCms_DM_Node->postSave(true, false, false, false)
#5 /path/to/my/vb/dm.php(921): vBCms_DM_Article->postSave(true, false, false, false)
#6 /path/to/my/packages/vbcms/dm/node.php(427): vB_DM->save()
#7 /path/to/my/packages/vbcms/content/article.php(1158): vBCms_DM_Node->saveFromForm('3')
#8 /path/to/my/packages/vbcms/content/article.php(455): vBCms_Content_Article->saveData(Object(vBCms_View_Article))
#9 /path/to/my/vb/content.php(313): vBCms_Content_Article->populateViewContent(Object(vBCms_View_Article), 4)
#10 /path/to/my/packages/vbcms/controller/content.php(189): vB_Content->getPageView(Array)
#11 [internal function]: vBCms_Controller_Content->actionView()
#12 /path/to/my/vb/controller.php(191): call_user_func_array(Array, Array)
#13 /path/to/my/packages/vbcms/route/content.php(97): vB_Controller->getResponse()
#14 /path/to/my/vb/router.php(251): vBCms_Route_Content->getResponse()
#15 /path/to/my/vb/bootstrap.php(58): vB_Router::getResponse()
#16 /path/to/my/content.php(30): require_once('/var/www/html/s...')
#17 {main}
Fatal error: vB_Legacy_Forum does not have a field 'lastthreadid' on line 40 in [path]/vb/legacy/dataobject.php in [path]/vb/vb.php on line 287
vB_Legacy_Forum does not have a field 'lastthreadid' on line 40 in /path/to/my/vb/legacy/dataobject.php
#0 /path/to/my/vb/legacy/forum.php(60): vB_Legacy_Dataobject->get_field('lastthreadid')
#1 /path/to/my/vb/legacy/thread.php(470): vB_Legacy_Forum->get_field('lastthreadid')
#2 /path/to/my/vb/legacy/thread.php(434): vB_Legacy_Thread->delete_internal(false, Object(vB_Legacy_CurrentUser), '', true)
#3 /path/to/my/packages/vbcms/dm/node.php(1099): vB_Legacy_Thread->soft_delete(Object(vB_Legacy_CurrentUser), '', true)
#4 /path/to/my/packages/vbcms/dm/article.php(169): vBCms_DM_Node->postSave(true, false, false, false)
#5 /path/to/my/vb/dm.php(921): vBCms_DM_Article->postSave(true, false, false, false)
#6 /path/to/my/packages/vbcms/dm/node.php(427): vB_DM->save()
#7 /path/to/my/packages/vbcms/content/article.php(1158): vBCms_DM_Node->saveFromForm('3')
#8 /path/to/my/packages/vbcms/content/article.php(455): vBCms_Content_Article->saveData(Object(vBCms_View_Article))
#9 /path/to/my/vb/content.php(313): vBCms_Content_Article->populateViewContent(Object(vBCms_View_Article), 4)
#10 /path/to/my/packages/vbcms/controller/content.php(189): vB_Content->getPageView(Array)
#11 [internal function]: vBCms_Controller_Content->actionView()
#12 /path/to/my/vb/controller.php(191): call_user_func_array(Array, Array)
#13 /path/to/my/packages/vbcms/route/content.php(97): vB_Controller->getResponse()
#14 /path/to/my/vb/router.php(251): vBCms_Route_Content->getResponse()
#15 /path/to/my/vb/bootstrap.php(58): vB_Router::getResponse()
#16 /path/to/my/content.php(30): require_once('/var/www/html/s...')
#17 {main}
Fatal error: vB_Legacy_Forum does not have a field 'lastthreadid' on line 40 in [path]/vb/legacy/dataobject.php in [path]/vb/vb.php on line 287
Comment