Error when deleting a node linked to groups

RvG

Active Member
Server Error
Mysqli prepare error: Unknown column 'discussion_node_id' in 'where clause'

  1. Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
  2. Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
  3. Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
  4. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 632
  5. Zend_Db_Adapter_Abstract->update() in Nobita/Teams/XenForo/DataWriter/Forum.php at line 18
  6. Nobita_Teams_XenForo_DataWriter_Forum->_postDelete() in XenForo/DataWriter.php at line 1779
  7. XenForo_DataWriter->delete() in XenForo/ControllerAdmin/NodeAbstract.php at line 65
  8. XenForo_ControllerAdmin_NodeAbstract->actionDelete() in XenForo/FrontController.php at line 347
  9. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  10. XenForo_FrontController->run() in /home/xxx/public_html/xxx/admin.php at line 13
 
hmmm seems fix will take time? :)
one temporary solution to avoid this till the fix is done
1) deactivate the group addon 2.) delete the node 3.) activate the addon
 
Open the file. library/Nobita/Teams/XenForo/DataWriter/Forum.php

Remove this lines:
PHP:
$db->update('xf_team_category', array(
            'discussion_node_id' => 0,
            'discussion_prefix_id' => 0
        ), 'discussion_node_id = ' . $nodeIdQuoted);
 
  • Like
Reactions: RvG
Back
Top