# Github webhook v1.0.6 plugin problems

**URL:** <https://kanboard.discourse.group/t/github-webhook-v1-0-6-plugin-problems/3360>\
**Category:** Plugins\
**Created:** [January 13, 2025, 4:28pm UTC](https://kanboard.discourse.group/t/github-webhook-v1-0-6-plugin-problems/3360 "2025-01-13T16:28:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gururise](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@gururise](https://kanboard.discourse.group/u/gururise)\
**Post date:** [January 13, 2025, 4:28pm UTC](https://kanboard.discourse.group/t/github-webhook-v1-0-6-plugin-problems/3360/1 "2025-01-13T16:28:41Z")

</div>

Is anyone using the [kanboard-github-webhook](https://github.com/kanboard/plugin-github-webhook) plugin with the latest Kanboard 1.2.43?

How are you all getting github issues into kanboard?

I absolutely need some type of integration with github issues, and the official github webhook plugin does not work. It seems though its unmaintained and no longer working, when I open an new issue in github and the webhook fires, the logs show the response as:

```auto

<br />
<b>Fatal error</b>: Uncaught TypeError: Symfony\Component\EventDispatcher\EventDispatcher::dispatch(): Argument #1 ($event) must be of type object, string given, called in /var/www/app/plugins/GithubWebhook/WebhookHandler.php on line 203 and defined in /var/www/app/libs/event-dispatcher/EventDispatcher.php:48
Stack trace:
#0 /var/www/app/plugins/GithubWebhook/WebhookHandler.php(203): Symfony\Component\EventDispatcher\EventDispatcher-&gt;dispatch()
#1 /var/www/app/plugins/GithubWebhook/WebhookHandler.php(128): Kanboard\Plugin\GithubWebhook\WebhookHandler-&gt;handleIssueOpened()
#2 /var/www/app/plugins/GithubWebhook/WebhookHandler.php(61): Kanboard\Plugin\GithubWebhook\WebhookHandler-&gt;parseIssueEvent()
#3 /var/www/app/plugins/GithubWebhook/Controller/Webhook.php(28): Kanboard\Plugin\GithubWebhook\WebhookHandler-&gt;parsePayload()
#4 /var/www/app/app/Core/Controller/Runner.php(77): Kanboard\Plugin\GithubWebhook\Controller\Webhook-&gt;handler()
#5 /var/www/app/app/Core/Controller/Runner.php(31): Kanboard\Core\Controller\Runner-&gt;executeController()
#6 /var/www/app/index.php(9): Kanboard\Core\Controller\Runner-&gt;execute()
#7 {main}
  thrown in <b>/var/www/app/libs/event-dispatcher/EventDispatcher.php</b> on line <b>48</b><br />

```

---

<div class="post-metadata">

**Author:** ![alfredb](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/alfredb/32/1051_2.png) [@alfredb](https://kanboard.discourse.group/u/alfredb)\
**Post date:** [January 15, 2025, 10:02am UTC](https://kanboard.discourse.group/t/github-webhook-v1-0-6-plugin-problems/3360/2 "2025-01-15T10:02:31Z")

</div>

Just another victim of Symphonys decision to swap the ordering of the function arguments.  
To fix this, someone (you) needs to patch all occurrences of `$this->dispatcher->dispatch()`, according to my solution below.

> <https://github.com/creecros/Mailmagik/commit/1a4d44d9f2b04fb3e9e60d21fa961888ee3042bd#diff-7828895aa4387b470205c78363c52b262c279b5466157676412b20ece07bfef9L25>

---

<div class="post-metadata">

**Author:** ![alfredb](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/alfredb/32/1051_2.png) [@alfredb](https://kanboard.discourse.group/u/alfredb)\
**Post date:** [January 15, 2025, 11:51am UTC](https://kanboard.discourse.group/t/github-webhook-v1-0-6-plugin-problems/3360/3 "2025-01-15T11:51:03Z")

</div>

I tried to fix the dispatcher issue, but without testing is alive. Thus, I don’t know whether there are more issues.

> **[ownCloud - A safe home for all your data](https://cloud.alfredbuehler.ch/index.php/s/0yfvk0xvFyzEqza)**
>
> GithubWebhook-1.0.7.zip is publicly shared

Good luck!

---

<div class="post-metadata">

**Author:** ![gururise](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@gururise](https://kanboard.discourse.group/u/gururise)\
**Post date:** [January 15, 2025, 9:05pm UTC](https://kanboard.discourse.group/t/github-webhook-v1-0-6-plugin-problems/3360/4 "2025-01-15T21:05:27Z")

</div>

Hey Alfredb,  
Thanks!

I did find this plugin that worked for me:

> **[GitHub - tferreira/plugin-github-webhook: \[NOT MAINTAINED\] Github Webhook Plugin for...](https://github.com/tferreira/plugin-github-webhook)**
>
> \[NOT MAINTAINED\] Github Webhook Plugin for Kanboard

Looks like it was updated due to Symfony changes.
