• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 I get this when I create a new user

Matthew Hawley

Well-known member
#1
Mysqli statement execute error : Field 'HUN_username_styling' doesn't have a default value
  1. Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 317
  2. Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
  3. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
  4. Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1591
  5. XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1580
  6. XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1381
  7. XenForo_DataWriter->save() in *******/Credits/DataWriter/User.php at line 47
  8. *******_Credits_DataWriter_User->save() in DigitalPointSpy/DataWriter/User.php at line 7
  9. DigitalPointSpy_DataWriter_User->save() in XenForo/ControllerAdmin/User.php at line 481
  10. XenForo_ControllerAdmin_User->actionSave() in *******/Credits/ControllerAdmin/User.php at line 7
  11. *******_Credits_ControllerAdmin_User->actionSave() in EWRutiles/ControllerAdmin/UserXF.php at line 15
  12. EWRutiles_ControllerAdmin_UserXF->actionSave() in XenForo/FrontController.php at line 310
  13. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  14. XenForo_FrontController->run() in /home/mcwh/public_html/letspwn.com/admin.php at line 13
 

Jake Bunce

XenForo moderator
Staff member
#2
"HUN_username_styling" is not a default column name. It must be from an addon. This particular error may indicate that the addon in question is disabled, but the field still exists in the table without any default value. Find the addon in question and make sure it's enabled, or contact the author.