XF 1.5 Having trouble adding another Admin to my site.

oO5 Dynasty

Well-known member
I have no idea how or why i am receiving this error when i try to ad an admin. any help would be greatly appreciated.



Code:
Server Error Log
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Field 'last_note_viewed' doesn't have a default value - library/Zend/Db/Statement/Mysqli.php:214
Generated By: oO5 Dynasty ™, A moment ago
Stack Trace

#0 /home/deadcl6/public_html/user/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/deadcl6/public_html/user/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/deadcl6/public_html/user/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#3 /home/deadcl6/public_html/user/library/XenForo/DataWriter.php(1638): Zend_Db_Adapter_Abstract->insert('xf_admin', Array)
#4 /home/deadcl6/public_html/user/library/XenForo/DataWriter.php(1627): XenForo_DataWriter->_insert()
#5 /home/deadcl6/public_html/user/library/XenForo/DataWriter.php(1419): XenForo_DataWriter->_save()
#6 /home/deadcl6/public_html/user/library/XenForo/ControllerAdmin/Admin.php(133): XenForo_DataWriter->save()
#7 /home/deadcl6/public_html/user/library/XenForo/FrontController.php(351): XenForo_ControllerAdmin_Admin->actionSave()
#8 /home/deadcl6/public_html/user/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/deadcl6/public_html/user/admin.php(13): XenForo_FrontController->run()
#10 {main}

Request State

array(3) {
  ["url"] => string(48) "http://oo5dynasty.com/user/admin.php?admins/save"
  ["_GET"] => array(1) {
    ["admins/save"] => string(0) ""
  }
  ["_POST"] => array(8) {
    ["visitor_password"] => string(8) "********"
    ["username"] => string(18) "oO5 DeadClockz ™"
    ["extra_user_group_ids"] => array(7) {
      [0] => string(2) "23"
      [1] => string(1) "3"
      [2] => string(2) "24"
      [3] => string(1) "4"
      [4] => string(2) "20"
      [5] => string(1) "2"
      [6] => string(1) "1"
    }
    ["permissions"] => array(38) {
      [0] => string(4) "mood"
      [1] => string(13) "customBBCodes"
      [2] => string(6) "option"
      [3] => string(4) "help"
      [4] => string(12) "bbCodeSmilie"
      [5] => string(5) "addOn"
      [6] => string(17) "systemPermissions"
      [7] => string(4) "node"
      [8] => string(6) "thread"
      [9] => string(10) "attachment"
      [10] => string(3) "tag"
      [11] => string(15) "resourceManager"
      [12] => string(6) "notice"
      [13] => string(4) "user"
      [14] => string(9) "userField"
      [15] => string(6) "trophy"
      [16] => string(7) "warning"
      [17] => string(3) "ban"
      [18] => string(9) "userGroup"
      [19] => string(11) "userUpgrade"
      [20] => string(5) "style"
      [21] => string(13) "xiHelpManager"
      [22] => string(8) "language"
      [23] => string(4) "cron"
      [24] => string(12) "rebuildCache"
      [25] => string(14) "viewStatistics"
      [26] => string(8) "viewLogs"
      [27] => string(6) "import"
      [28] => string(10) "cacheClean"
      [29] => string(3) "dev"
      [30] => string(17) "xengalleryManager"
      [31] => string(21) "sonnbXenGalleryImport"
      [32] => string(14) "upgradeXenForo"
      [33] => string(15) "paidContentItem"
      [34] => string(10) "xfa_slider"
      [35] => string(22) "ragtek_manage_multimod"
      [36] => string(15) "enableDebugMode"
      [37] => string(14) "manageComments"
    }
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(26) "/user/admin.php?admins/add"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 

ozzy47

Well-known member
In that case, either re-enable the addon then save the admin, uninstall it, or ask the developer to fix the issue.
 
Top