Array to string conversion
Every time I try to add a bbcode I get this error:
Code:
ErrorException: Array to string conversion - library/XenForo/DataWriter.php:771
Generated By: alfa, A moment ago
Stack Trace
#0 /library/XenForo/DataWriter.php(771): XenForo_Application::handlePhpError(8, 'Array to string...', '/home/...', 771, Array)
#1 /library/XenForo/DataWriter.php(721): XenForo_DataWriter->_castValueToType('string', Array, 'vw_extra', Array)
#2 /library/XenForo/DataWriter.php(643): XenForo_DataWriter->_isFieldValueValid('vw_extra', Array, Array, Array)
#3 /library/XenForo/DataWriter.php(1009): XenForo_DataWriter->set('vw_extra', Array, '', Array)
#4 /library/vw/XenForo/DataWriter/BbCode.php(28): XenForo_DataWriter->bulkSet(Array, NULL)
#5 /library/XenForo/ControllerAdmin/BbCode.php(130): vw_XenForo_DataWriter_BbCode->bulkSet(Array)
#6 /library/vw/XenForo/ControllerAdmin/BbCode.php(93): XenForo_ControllerAdmin_BbCode->actionSave()
#7 /library/XenForo/FrontController.php(351): vw_XenForo_ControllerAdmin_BbCode->actionSave()
#8 /library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /admin.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
["url"] => string(61) "https://site.eu/admin.php?bb-codes/save"
["_GET"] => array(1) {
["bb-codes/save"] => string(0) ""
}
["_POST"] => array(24) {
["new_bb_code_id"] => string(3) "sup"
["title"] => string(3) "SUP"
["description"] => string(11) "Superscript"
["bb_code_mode"] => string(7) "replace"
["has_option"] => string(2) "no"
["replace_html"] => string(46) "<sup style="vertical-align:top">{option}</sup>"
["callback_class"] => string(0) ""
["callback_method"] => string(0) ""
["example"] => string(21) "[sup]Header Tag[/sup]"
["allow_signature"] => string(1) "1"
["addon_id"] => string(3) "BBM"
["active"] => string(1) "1"
["option_regex"] => string(0) ""
["trim_lines_after"] => string(1) "0"
["editor_icon_url"] => string(0) ""
["sprite_params"] => array(2) {
["x"] => string(1) "0"
["y"] => string(1) "0"
}
["replace_html_email"] => string(0) ""
["replace_text"] => string(0) ""
["vw_varname"] => string(0) ""
["vw_options"] => array(5) {
["nonwiki_editor"] => string(1) "1"
["wiki_editor"] => string(1) "1"
["nonwiki_faq"] => string(1) "1"
["nonwiki_parse"] => string(1) "1"
["wiki_parse"] => string(1) "1"
}
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(32) "/test1-xf/admin.php?bb-codes/add"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}