# Probleem na upgrade van Discourse naar een stabiele versie

**URL:** <https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132>\
**Category:** Product Support\
**Created:** [4 augustus 2021 om 12:06 UTC](https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132 "2021-08-04T12:06:03Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Rahul\_Goswami](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahul_goswami/32/139414_2.png) [@Rahul\_Goswami](https://meta.discourse.org/u/Rahul_Goswami)\
**Post date:** [4 augustus 2021 om 12:06 UTC](https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132/1 "2021-08-04T12:06:03Z")

</div>

Hi, Today I updated Discourse to a stable version 2.7.7, and after upgrading I received this error while activating a new account

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/0/60894e7da51eebb9f5017317289667f6cc950b57.png)

and here is the log tail -----

Failed to handle exception in exception app middleware : PG::UndefinedFunction: ERROR: function max(boolean) does not exist  
LINE 1: …\_rank, MAX(user\_badges.created\_at) AS created\_at, MAX(user\_b…  
^  
HINT: No function matches the given name and argument types. You might need to add explicit type casts.

Started GET “/users/activate-account/0f44cb2f759b85caecaf5ea26a1878e5” for 49.44.84.137 at 2021-08-04 11:54:11 +0000  
Processing by UsersController#activate\_account as HTML  
Parameters: {“token”=\>“0f44cb2f759b85caecaf5ea26a1878e5”}  
Rendered users/activate\_account.html.erb within layouts/no\_ember (Duration: 2.0ms | Allocations: 471)  
Rendered layout layouts/no\_ember.html.erb (Duration: 20.5ms | Allocations: 5694)  
Completed 200 OK in 29ms (Views: 21.8ms | ActiveRecord: 0.0ms | Allocations: 7981)

can anyone help me with this issue?

---

_[View the full topic](https://meta.discourse.org/t/issue-after-upgrading-discourse-to-a-stable-version/199132)._
