EvilExecutor Hey! When I enable the extension the discussions/post won't get posted at once. It asks for a reload. Once the reload is done the discussions/post gets posted and the message is sent to discord. But when I disable the extension everything works fine... Have I done something wrong?
datitisev EvilExecutor There should be an error in the Flarum log file at storage/logs/flarum-<date>.log
clarkwinkelmann You can also enable debug in config.php and try again to have the error displayed on screen. If it's not logged, it's either a javascript error instead of backend error. Or it's a backend error and the log folder isn't writable.
datitisev EvilExecutor That's... interesting... and doesn't really show where the error comes from. At a glance it doesn't seem like its' an issue with webhooks but a dependency of it. 🤔
clarkwinkelmann EvilExecutor seems like this is the same issue googleapis/google-api-php-client1392, https://stackoverflow.com/q/50898330 You could try running composer update guzzlehttp/guzzle --with-dependencies to update Guzzle to the latest possible version for your setup and see whether the issue goes away. From those linked threads, it seems updating to Guzzle 6.3 or higher is necessary to fix the issue. You can use composer show guzzlehttp/guzzle --tree to check which version of Guzzle and its dependencies are installed.
EvilExecutor composer require guzzlehttp/guzzle:^6.3 made it work as charm (was a blind shot for me) 🙂 Thanks @clarkwinkelmann
clarkwinkelmann EvilExecutor Good news! However I wouldn't recommend using require, because now it's hard-coded in your composer.json and could prevent an update later on when all extensions move to Guzzle version 7. You can simply remove the line about guzzle in your composer.json to fix this problem.
Amarok datitisev EvilExecutor Yes. I can't provide a timeframe for it, however. Sorry 😕 ctml 😉 maybe, but not in priority
datitisev 0.3.0 This extension does not support beta 14. Your ReFlar webhooks will be migrated. Moved to FriendsOfFlarum Updated for beta 15 Fix issue with all events in Webhook settings modal showing disabled animation every time you enable/disable one Fix default group showing as member Improve settings UI NEW: Add extra text to your webhook messages (predefined, cannot change per event, set per webhook) NEW: Microsoft Teams integration DISCORD: Do not replace avatar with forum icon DISCORD: Support discordapp.com and discord.com domains A migration on extension enable will automatically replace discord.com with discordapp.com from all your Discord webhook urls Updating composer remove reflar/webhooks composer require fof/webhooks