# Akismet with 1.5.0.beta10 broken?

**URL:** https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735
**Category:** Bug
**Tags:** akismet
**Created:** [February 17, 2016, 2:42pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735 "2016-02-17T14:42:28Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![calmh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/calmh/32/115466_2.png) [@calmh](https://meta.discourse.org/u/calmh)
#### Post date: [February 17, 2016, 2:42pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/1 "2016-02-17T14:42:28Z")

</div>

Akismet plugin and Discourse both up to date.

Going to Admin, Plugins, Akismet (or directly there via the red blob when Akismet has hidden a post) for me renders a blank page and a couple of Javascript errors in the console. Same on both Safari, Chrome on Mac and iPhone.

 ![](https://global.discourse-cdn.com/meta/original/3X/a/d/ad82af811e93c861ef5817b93afe02c43f6db098.png)

Clicking around adds a few more errors to the console.

 ![](https://global.discourse-cdn.com/meta/original/3X/0/8/08a200c171bc746827d8794f891e99faa1ff82c9.png)

For searchability, they are;

```plaintext
Error: More context objects were passed than there are dynamic segments for the route: adminUser.index
Error: Something you did caused a view to re-render after it rendered but before it was inserted into the DOM.
Error: You cannot modify child views while in the inBuffer state

```

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 17, 2016, 4:53pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/2 "2016-02-17T16:53:40Z")

</div>

I don’t think we can repro this on meta can we @neil?

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [February 17, 2016, 5:00pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/3 "2016-02-17T17:00:00Z")

</div>

It’s working everywhere I’ve tested it. The error you’re seeing is the opposite of the one I fixed. It used to be “You didn’t provide enough string/numeric parameters to satisfy all of the dynamic segments for route adminUser”, and now it’s “More context objects were passed than there are dynamic segments for the route: adminUser.index”. So 1 is not enough, but 2 is too many. Ummmm.

---

<div class="post-metadata">

### Author: ![calmh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/calmh/32/115466_2.png) [@calmh](https://meta.discourse.org/u/calmh)
#### Post date: [February 17, 2016, 5:52pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/4 "2016-02-17T17:52:58Z")

</div>

Odd. That sounds like something is out of sync with something else? I cleared my browser cache(s) completely, but no difference. These are the versions I’m running:

 ![](https://global.discourse-cdn.com/meta/original/3X/0/8/0882684b61b488c7d8ddc2710cf519a8b26d718e.png)

(There’s one new commit now (which is weird since the beta branch usually forwards by a hundred or so at a time?) since 34 minutes ago, but it was up to date at the time of writing.🙂

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 17, 2016, 6:04pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/5 "2016-02-17T18:04:04Z")

</div>

Any other plugins that could be interfering?

---

<div class="post-metadata">

### Author: ![calmh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/calmh/32/115466_2.png) [@calmh](https://meta.discourse.org/u/calmh)
#### Post date: [February 17, 2016, 6:26pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/6 "2016-02-17T18:26:24Z")

</div>

I don’t _think_ so… This is the complete set:

 ![](https://global.discourse-cdn.com/meta/original/3X/1/e/1ee2559a2a5adc8cfba196fe61519f0ee5667f3e.png)

The three “Github” ones are just things that poll for contributions of various kinds and award badges (based on Sams similar one), so no involvement at all on the rendering side.

Apart from that I have some custom CSS and a custom site header (HTML only, no Javascript anywhere).

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [February 17, 2016, 6:58pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/7 "2016-02-17T18:58:34Z")

</div>

Safari is hiding the full URL. ☹ Can you check that it’s `/admin/plugins/akismet`? I don’t see why it should be linking to adminUser.index.

---

<div class="post-metadata">

### Author: ![calmh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/calmh/32/115466_2.png) [@calmh](https://meta.discourse.org/u/calmh)
#### Post date: [February 17, 2016, 7:35pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/8 "2016-02-17T19:35:56Z")

</div>

Yeah… In Chrome, after just clicking the red notification blob:

 ![](https://global.discourse-cdn.com/meta/original/3X/3/d/3dd286e3eaf23e302e9269c904d2c551b083489e.png)

Do you want a login to take a look for yourself, in case there’s something stupid I’ve missed?

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [February 17, 2016, 7:59pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/9 "2016-02-17T19:59:02Z")

</div>

Yes please. This is me: [https://forum.syncthing.net/users/neil/activity](https://forum.syncthing.net/users/neil/activity)

---

<div class="post-metadata">

### Author: ![calmh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/calmh/32/115466_2.png) [@calmh](https://meta.discourse.org/u/calmh)
#### Post date: [February 17, 2016, 8:00pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/10 "2016-02-17T20:00:33Z")

</div>

I’ve adminified you.

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [February 17, 2016, 8:12pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/11 "2016-02-17T20:12:17Z")

</div>

Hmm I can’t see anything useful.

@eviltrout Is it possible that this code can cause an error on the adminUser.index route, even though it should be linking to the adminUser route?

`{{#link-to 'adminUser' post.user_id post.username}}`

The new error is `Error: More context objects were passed than there are dynamic segments for the route: adminUser.index`.

I had to [fix that link](https://github.com/discourse/discourse-akismet/commit/ac7697e341dc4fe2a43858f28d58176d2781f122) so it had the user\_id and username. But now that page is complaining about too many arguments…

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [March 1, 2016, 6:10pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/12 "2016-03-01T18:10:36Z")

</div>

This looks like a mismatch between discourse and the plugin. The commit of discourse is 2ff275e which is 25 days old. I wonder if the `adminUser` path changed between stable/beta and tests-passed, so your fix in akismet is only compatible with the latest version and not the older ones?

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [March 1, 2016, 10:00pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/13 "2016-03-01T22:00:09Z")

</div>

> [@calmh](#):
>
> Akismet plugin and Discourse both up to date.

Hmm, I assumed that this was true, but it sounds like the askismet plugin was updated but Discourse wasn’t. @calmh Was there an error when updating Discourse?

---

<div class="post-metadata">

### Author: ![calmh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/calmh/32/115466_2.png) [@calmh](https://meta.discourse.org/u/calmh)
#### Post date: [March 2, 2016, 2:13pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/14 "2016-03-02T14:13:32Z")

</div>

Not that I can recall. Was the “up to date” from the web UI not truthful?

---

<div class="post-metadata">

### Author: ![mehalshah](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@mehalshah](https://meta.discourse.org/u/mehalshah)
#### Post date: [March 15, 2016, 9:26pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/15 "2016-03-15T21:26:35Z")

</div>

We’re seeing this as well with our discourse plugin. I believe Akismet is still functioning though, since I see messages getting processed / deleted in the Akismet states page

---

<div class="post-metadata">

### Author: ![Alex\_Harrington](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alex_harrington/32/249857_2.png) [@Alex\_Harrington](https://meta.discourse.org/u/Alex_Harrington)
#### Post date: [March 31, 2016, 10:10am UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/16 "2016-03-31T10:10:39Z")

</div>

I’m seeing a blank Admin page for the Akismet plugin on latest stable (1.4.7)

The error is:  
Uncaught Error: More context objects were passed than there are dynamic segments for the route: adminUser.index

---

<div class="post-metadata">

### Author: ![Alex\_Harrington](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alex_harrington/32/249857_2.png) [@Alex\_Harrington](https://meta.discourse.org/u/Alex_Harrington)
#### Post date: [March 31, 2016, 10:30am UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/17 "2016-03-31T10:30:10Z")

</div>

I’ve done a full ./launcher app rebuild and while there were some changes applied by the looks of it I still have the same error.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 31, 2016, 11:06am UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/18 "2016-03-31T11:06:22Z")

</div>

Can you try on latest, we are just about to release a new stable so you are going to be upgrading anyway in a few days.

---

<div class="post-metadata">

### Author: ![Alex\_Harrington](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alex_harrington/32/249857_2.png) [@Alex\_Harrington](https://meta.discourse.org/u/Alex_Harrington)
#### Post date: [March 31, 2016, 11:53am UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/19 "2016-03-31T11:53:37Z")

</div>

I don’t think I can use to the Adsense plugin? That normally breaks on major version change.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [March 31, 2016, 12:03pm UTC](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735/20 "2016-03-31T12:03:58Z")

</div>

Which AdSense plugin are you using? It may be up-to-date (I know @eviltrout submitted a PR to at least one of them)

[Next page](https://meta.discourse.org/t/akismet-with-1-5-0-beta10-broken/39735.md?page=2)
