- This update has an important fix related to syncing accounts which are not members of your discord guild.
- Added the ability to hide the Discord tab/page based on usergroup permissions.
Just checking in. Any info? Cannot create any forums or do anythign because of this issue. Went into phpadmin to hunt this down, but cannot find. Use to VB to find errors in the past.
I was able to create a Node/ Forums no issues. Did you try re-uploading the files?
Was working fine for about a week but now once again it wants random users to save something to their desktop.
View attachment 167545
What is going on now? No edits, no customs. Randomly too uses with Chrome can never seem to get it to sync.
Im still randomly having this issue too.
I can't track down this issue... I have a feeling its something on Discord's end, but who knows. I'm not having this issue on my own website.Was working fine for about a week but now once again it wants random users to save something to their desktop.
View attachment 167545
What is going on now? No edits, no customs. Randomly too uses with Chrome can never seem to get it to sync.
I have this fixed for the next version. Its a minor bug, that does not hurt the addon in any way; it doesn't even interrupt the install process. So I'm in no rush to push the update out.I was having this issue, i really really tried to hunt down the bug. went through my database, reinstalled the files, but get this everytime on install.
Stack trace
- ErrorException: [E_NOTICE] Array to string conversion
- src/XF/Db/Mysqli/Statement.php:63
- Generated by: *****
- Jan 28, 2018 at 10:50 PM
#0 [internal function]: XF::handlePhpError(8, '[E_NOTICE] Arra...', '/var/www/vhosts...', 63, Array)
#1 src/XF/Db/Mysqli/Statement.php(63): mysqli_stmt->execute()
#2 src/XF/Db/AbstractAdapter.php(74): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(150): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#4 src/addons/EWR/Discord/Setup.php(35): XF\Db\AbstractAdapter->insert('xf_connected_ac...', Array)
#5 src/XF/AddOn/StepRunnerInstallTrait.php(60): EWR\Discord\Setup->installStep2(Array)
#6 src/XF/AddOn/StepRunnerInstallTrait.php(27): EWR\Discord\Setup->installStepRunner(2, Array)
#7 src/XF/Admin/Controller/AddOn.php(378): EWR\Discord\Setup->install(Array)
#8 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\AddOn->actionInstall(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:AddOn', 'Install', 'html', Object(XF\Mvc\ParameterBag), 'listAddOns', Object(XF\Admin\Controller\AddOn), NULL)
#10 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 admin.php(13): XF::runApp('XF\\Admin\\App')
#14 {main}
Request state
array(4) {
["url"] => string(38) "/admin.php?add-ons/EWR-Discord/install"
["referrer"] => string(59) "https://plexguide.com/admin.php?add-ons/EWR-Discord/install"
["_GET"] => array(1) {
["add-ons/EWR-Discord/install"] => string(0) ""
}
["_POST"] => array(7) {
["_xfProcessing"] => string(1) "1"
["continue"] => string(1) "1"
["confirm"] => string(1) "1"
["params"] => string(2) "[]"
["count"] => string(1) "1"
["finished"] => string(1) "0"
["_xfToken"] => string(8) "********"
}
}
What files have you edited? I'm looking at the code right now, and the node entity expansion clearly has a default value:I did an uninstall of it and ever since, it has been causing problems. I'm tracking to find where this record is at, but no luck (did a reinstall) and still same errors as noted above when attempting to install.
When i have it installed, it does this for the nodes:
XF\Db\Exception: MySQL query error [1364]: Field 'discord_options' doesn't have a default value in src/XF/Db/AbstractStatement.php at line 212
- XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 174
- XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 69
- XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 74
- XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 150
- XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1381
- XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1113
- XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 69
- XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 159
- XF\Mvc\FormAction->run() in src/XF/Admin/Controller/AbstractNode.php at line 110
- XF\Admin\Controller\AbstractNode->actionSave() in src/XF/Mvc/Dispatcher.php at line 249
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1880
- XF\App->run() in src/XF.php at line 328
- XF::runApp() in admin.php at line 13
$structure->columns['discord_options'] = ['type' => self::SERIALIZED_ARRAY, 'required' => false, 'default' => []];
I can't track down this issue... I have a feeling its something on Discord's end, but who knows. I'm not having this issue on my own website.
I have this fixed for the next version. Its a minor bug, that does not hurt the addon in any way; it doesn't even interrupt the install process. So I'm in no rush to push the update out.
What files have you edited? I'm looking at the code right now, and the node entity expansion clearly has a default value:
Code:$structure->columns['discord_options'] = ['type' => self::SERIALIZED_ARRAY, 'required' => false, 'default' => []];
We use essential cookies to make this site work, and optional cookies to enhance your experience.