- Ability to add a specific message for threads,
- Ability to add a specific message for posts,
- Possibility of adding a specific username for threads,
- Ability to add a specific username for posts,
- Ability to add a specific channel for threads,
- Ability to add a specific channel for posts,
- Added a new {message} parameter for posts,
- Change the name of the {name} parameter to {username},
- Correction of an unnecessary option group in the ACP.
Error Info
ErrorException: Undefined index: versionid - library/XenSupport/Discord/Install/Controller.php:10
Stack Trace
#0 /home/nginx/domains/xxxx.com/public/library/XenSupport/Discord/Install/Controller.php(10): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/nginx/dom...', 10, Array)
#1 /home/nginx/domains/xxxx.com/public/library/XenForo/Model/AddOn.php(214): XenSupport_Discord_Install_Controller::install(Array, Array, Object(SimpleXMLElement))
#2 /home/nginx/domains/xxxx.com/public/library/XenForo/Model/AddOn.php(169): XenForo_Model_AddOn->installAddOnXml(Object(SimpleXMLElement), 'xs_discord')
#3 /home/nginx/domains/xxxx.com/public/library/XenForo/ControllerAdmin/AddOn.php(237): XenForo_Model_AddOn->installAddOnXmlFromFile('/tmp/phpGNInNJ', 'xs_discord')
#4 /home/nginx/domains/xxxx.com/public/library/XenForo/FrontController.php(351): XenForo_ControllerAdmin_AddOn->actionUpgrade()
#5 /home/nginx/domains/xxxx.com/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /home/nginx/domains/xxxx.com/public/admin.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
["url"] => string(61) "http://www.xxxx.com/admin.php?add-ons/xs_discord/upgrade"
["_GET"] => array(1) {
["add-ons/xs_discord/upgrade"] => string(0) ""
}
["_POST"] => array(3) {
["server_file"] => string(0) ""
["_xfConfirm"] => string(1) "1"
["_xfToken"] => string(8) "********"
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'xs_discord_webhook_posts' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Stack Trace
#0 /home/nginx/domains/xxxxx.com/public/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('UPDATE `xf_node...')
#1 /home/nginx/domains/xxxxxxxxx.com/public/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'UPDATE `xf_node...')
#2 /home/nginx/domains/xxxxxxxxxxxxxxxx.com/public/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('UPDATE `xf_node...')
#3 /home/nginx/domains/xxxxxx.com/public/library/Zend/Db/Adapter/Abstract.php(632): Zend_Db_Adapter_Abstract->query('UPDATE `xf_node...', Array)
#4 /home/nginx/domains/xxxxxxxxxx.com/public/library/XenForo/DataWriter.php(1654): Zend_Db_Adapter_Abstract->update('xf_node', Array, '(node_id = 4)')
#5 /home/nginx/domains/xxxxxxxxxxxxx.com/public/library/XenForo/DataWriter.php(1623): XenForo_DataWriter->_update()
#6 /home/nginx/domains/xxxxxxxxxxxxxx.com/public/library/XenForo/DataWriter.php(1419): XenForo_DataWriter->_save()
#7 /home/nginx/domains/xxxxxxxxxxxxxx.com/public/library/XenSupport/Discord/Listener/Proxy/Admin/ForumController.php(28): XenForo_DataWriter->save()
#8 /home/nginx/domains/xxxxxxxxxxxx.com/public/library/XenForo/FrontController.php(351): XenSupport_Discord_Listener_Proxy_Admin_ForumController->actionSave()
#9 /home/nginx/domains/xxxxxxxxxxxxx.com/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /home/nginx/domains/xxxxxxxxxx.com/public/admin.php(13): XenForo_FrontController->run()
#11 {main}
Request State
array(3) {
["url"] => string(56) "http://www.xxxxxxxxxxx.com/admin.php?forums/general.4/save"
["_GET"] => array(1) {
["forums/general_4/save"] => string(0) ""
}
["_POST"] => array(30) {
["title"] => string(7) "General"
["node_name"] => string(0) ""
["description"] => string(0) ""
["parent_node_id"] => string(2) "23"
["display_order"] => string(1) "1"
["display_in_list"] => string(1) "1"
["allow_posting"] => string(1) "1"
["allow_poll"] => string(1) "1"
["count_messages"] => string(1) "1"
["find_new"] => string(1) "1"
["min_tags"] => string(1) "0"
["allowed_watch_notifications"] => string(3) "all"
["default_sort_order"] => string(14) "last_post_date"
["default_sort_direction"] => string(4) "desc"
["list_date_limit_days"] => string(1) "0"
["xs_discord_webhook_threads"] => string(123) "https://discordapp.com/api/webhooks/265519474231345152/xxxxxxxxxxxxxxxxx"
["xs_discord_bot_username_threads"] => string(5) "Becky"
["xs_discord_bot_message_threads"] => string(69) "New {type} has been created by {name}, check it out [{title}]({url})"
["xs_discord_threads"] => string(1) "1"
["xs_discord_webhook_posts"] => string(123) "https://discordapp.com/api/webhooks/265519474231345152/xxxxxxxxxxxxxxxxxxx"
["xs_discord_bot_username_posts"] => string(5) "Becky"
["xs_discord_bot_message_posts"] => string(68) "New {type} has been posted by {name}, check it out [{title}]({url})"
["xs_discord_posts"] => string(1) "1"
["available_prefixes"] => array(1) {
[0] => string(1) "5"
}
["default_prefix_id"] => string(1) "0"
["node_type_id"] => string(5) "Forum"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(31) "/admin.php?nodes/general.4/edit"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
- Fix a issue with installation or upgrade
Download the new update and let me know if the issue is fixed or notupgraded to 1.2 yesterday, got this error
Code:Error Info ErrorException: Undefined index: versionid - library/XenSupport/Discord/Install/Controller.php:10 Stack Trace #0 /home/nginx/domains/xxxx.com/public/library/XenSupport/Discord/Install/Controller.php(10): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/nginx/dom...', 10, Array) #1 /home/nginx/domains/xxxx.com/public/library/XenForo/Model/AddOn.php(214): XenSupport_Discord_Install_Controller::install(Array, Array, Object(SimpleXMLElement)) #2 /home/nginx/domains/xxxx.com/public/library/XenForo/Model/AddOn.php(169): XenForo_Model_AddOn->installAddOnXml(Object(SimpleXMLElement), 'xs_discord') #3 /home/nginx/domains/xxxx.com/public/library/XenForo/ControllerAdmin/AddOn.php(237): XenForo_Model_AddOn->installAddOnXmlFromFile('/tmp/phpGNInNJ', 'xs_discord') #4 /home/nginx/domains/xxxx.com/public/library/XenForo/FrontController.php(351): XenForo_ControllerAdmin_AddOn->actionUpgrade() #5 /home/nginx/domains/xxxx.com/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #6 /home/nginx/domains/xxxx.com/public/admin.php(13): XenForo_FrontController->run() #7 {main} Request State array(3) { ["url"] => string(61) "http://www.xxxx.com/admin.php?add-ons/xs_discord/upgrade" ["_GET"] => array(1) { ["add-ons/xs_discord/upgrade"] => string(0) "" } ["_POST"] => array(3) { ["server_file"] => string(0) "" ["_xfConfirm"] => string(1) "1" ["_xfToken"] => string(8) "********"
and
Code:Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'xs_discord_webhook_posts' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77 Stack Trace #0 /home/nginx/domains/xxxxx.com/public/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('UPDATE `xf_node...') #1 /home/nginx/domains/xxxxxxxxx.com/public/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'UPDATE `xf_node...') #2 /home/nginx/domains/xxxxxxxxxxxxxxxx.com/public/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('UPDATE `xf_node...') #3 /home/nginx/domains/xxxxxx.com/public/library/Zend/Db/Adapter/Abstract.php(632): Zend_Db_Adapter_Abstract->query('UPDATE `xf_node...', Array) #4 /home/nginx/domains/xxxxxxxxxx.com/public/library/XenForo/DataWriter.php(1654): Zend_Db_Adapter_Abstract->update('xf_node', Array, '(node_id = 4)') #5 /home/nginx/domains/xxxxxxxxxxxxx.com/public/library/XenForo/DataWriter.php(1623): XenForo_DataWriter->_update() #6 /home/nginx/domains/xxxxxxxxxxxxxx.com/public/library/XenForo/DataWriter.php(1419): XenForo_DataWriter->_save() #7 /home/nginx/domains/xxxxxxxxxxxxxx.com/public/library/XenSupport/Discord/Listener/Proxy/Admin/ForumController.php(28): XenForo_DataWriter->save() #8 /home/nginx/domains/xxxxxxxxxxxx.com/public/library/XenForo/FrontController.php(351): XenSupport_Discord_Listener_Proxy_Admin_ForumController->actionSave() #9 /home/nginx/domains/xxxxxxxxxxxxx.com/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #10 /home/nginx/domains/xxxxxxxxxx.com/public/admin.php(13): XenForo_FrontController->run() #11 {main} Request State array(3) { ["url"] => string(56) "http://www.xxxxxxxxxxx.com/admin.php?forums/general.4/save" ["_GET"] => array(1) { ["forums/general_4/save"] => string(0) "" } ["_POST"] => array(30) { ["title"] => string(7) "General" ["node_name"] => string(0) "" ["description"] => string(0) "" ["parent_node_id"] => string(2) "23" ["display_order"] => string(1) "1" ["display_in_list"] => string(1) "1" ["allow_posting"] => string(1) "1" ["allow_poll"] => string(1) "1" ["count_messages"] => string(1) "1" ["find_new"] => string(1) "1" ["min_tags"] => string(1) "0" ["allowed_watch_notifications"] => string(3) "all" ["default_sort_order"] => string(14) "last_post_date" ["default_sort_direction"] => string(4) "desc" ["list_date_limit_days"] => string(1) "0" ["xs_discord_webhook_threads"] => string(123) "https://discordapp.com/api/webhooks/265519474231345152/xxxxxxxxxxxxxxxxx" ["xs_discord_bot_username_threads"] => string(5) "Becky" ["xs_discord_bot_message_threads"] => string(69) "New {type} has been created by {name}, check it out [{title}]({url})" ["xs_discord_threads"] => string(1) "1" ["xs_discord_webhook_posts"] => string(123) "https://discordapp.com/api/webhooks/265519474231345152/xxxxxxxxxxxxxxxxxxx" ["xs_discord_bot_username_posts"] => string(5) "Becky" ["xs_discord_bot_message_posts"] => string(68) "New {type} has been posted by {name}, check it out [{title}]({url})" ["xs_discord_posts"] => string(1) "1" ["available_prefixes"] => array(1) { [0] => string(1) "5" } ["default_prefix_id"] => string(1) "0" ["node_type_id"] => string(5) "Forum" ["_xfToken"] => string(8) "********" ["_xfRequestUri"] => string(31) "/admin.php?nodes/general.4/edit" ["_xfNoRedirect"] => string(1) "1" ["_xfResponseType"] => string(4) "json" } }
Mysqli prepare error: Unknown column 'xs_discord_webhook_posts' in 'field list'
[LIST=1]
[*]Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
[*]Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
[*]Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
[*]Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 632
[*]Zend_Db_Adapter_Abstract->update() in XenForo/DataWriter.php at line 1654
[*]XenForo_DataWriter->_update() in XenForo/DataWriter.php at line 1623
[*]XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1419
[*]XenForo_DataWriter->save() in XenSupport/Discord/Listener/Proxy/Admin/ForumController.php at line 28
[*]XenSupport_Discord_Listener_Proxy_Admin_ForumController->actionSave() in XenForo/FrontController.php at line 351
[*]XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
[*]XenForo_FrontController->run() in /home/nginx/domains/ladgaming.com/public/admin.php at line 13
Please re-download our update, my fault.Installs fine, but when on the discord tab in the applications and im filling in the webhook etc i get
[/LIST]Code:Mysqli prepare error: Unknown column 'xs_discord_webhook_posts' in 'field list' [LIST=1] [*]Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115 [*]Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381 [*]Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478 [*]Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 632 [*]Zend_Db_Adapter_Abstract->update() in XenForo/DataWriter.php at line 1654 [*]XenForo_DataWriter->_update() in XenForo/DataWriter.php at line 1623 [*]XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1419 [*]XenForo_DataWriter->save() in XenSupport/Discord/Listener/Proxy/Admin/ForumController.php at line 28 [*]XenSupport_Discord_Listener_Proxy_Admin_ForumController->actionSave() in XenForo/FrontController.php at line 351 [*]XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134 [*]XenForo_FrontController->run() in /home/nginx/domains/ladgaming.com/public/admin.php at line 13
Mysqli prepare error: Unknown column 'xs_discord_webhook_posts' in 'field list'
Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 632
Zend_Db_Adapter_Abstract->update() in XenForo/DataWriter.php at line 1654
XenForo_DataWriter->_update() in XenForo/DataWriter.php at line 1623
XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1419
XenForo_DataWriter->save() in XenSupport/Discord/Listener/Proxy/Admin/ForumController.php at line 28
XenSupport_Discord_Listener_Proxy_Admin_ForumController->actionSave() in XenForo/FrontController.php at line 351
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/nginx/domains/xxxxxxx.com/public/admin.php at line 13
Strange, uninstall & reinstall the add-on please.Still getting the error
Code:Mysqli prepare error: Unknown column 'xs_discord_webhook_posts' in 'field list' Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115 Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381 Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478 Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 632 Zend_Db_Adapter_Abstract->update() in XenForo/DataWriter.php at line 1654 XenForo_DataWriter->_update() in XenForo/DataWriter.php at line 1623 XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1419 XenForo_DataWriter->save() in XenSupport/Discord/Listener/Proxy/Admin/ForumController.php at line 28 XenSupport_Discord_Listener_Proxy_Admin_ForumController->actionSave() in XenForo/FrontController.php at line 351 XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134 XenForo_FrontController->run() in /home/nginx/domains/xxxxxxx.com/public/admin.php at line 13
Strange, uninstall & reinstall the add-on please.
Read the update please.uninstalled, then installed and still getting the errors. Even the bot posting is messed up
![]()
Uninstall & reinstall the add-on please.As above also getting this error.
Read the update please.
Uninstall & reinstall the add-on please.
"Change the name of the {name} parameter to {username},"the update doesnt resolve the issue.
Just uninstall the add-on.its still not working and throwing them errors out, I think i have to remove it permanently from my database and fresh install it, whats the command for removing it from the database please.
have you pulled this item from your store?
![]()
It's ok now.have you pulled this item from your store?
![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.