• Support
  • Beta 15 upgrade - Cannot read property 'onbeforeupdate' of undefined

Small issue after updating from beta 13 to 15 using extiverse helper. All seems to work until I view my users profile, it does not load and the console throws below errors. I removed extensions that were not yet compatible except for 1 seen below, but I've also tried disabling that ext in the admin panel but it did not have any effect.

VM295 forum-30514192.js:25 TypeError: Cannot set property 'editable' of undefined
    at e.<anonymous> (VM295 forum-30514192.js:853)
    at e.t.<computed> (VM295 forum-30514192.js:1)
    at e.t.<computed> [as view] (VM295 forum-30514192.js:1)
    at Function.a (VM295 forum-30514192.js:25)
    at VM295 forum-30514192.js:25
    at VM295 forum-30514192.js:25
    at l (VM295 forum-30514192.js:25)
    at u (VM295 forum-30514192.js:25)
    at VM295 forum-30514192.js:25
    at l (VM295 forum-30514192.js:25)
a @ VM295 forum-30514192.js:25
v @ VM295 forum-30514192.js:25
Promise.then (async)
t @ VM295 forum-30514192.js:25
S @ VM295 forum-30514192.js:25
a @ VM295 forum-30514192.js:25
(anonymous) @ VM295 forum-30514192.js:25
mount @ VM295 forum-30514192.js:25
y @ VM295 forum-30514192.js:25
e.mount @ VM295 forum-30514192.js:1
n.mount @ VM295 forum-30514192.js:52
e.boot @ VM295 forum-30514192.js:1
(anonymous) @ settings:155
VM295 forum-30514192.js:25 TypeError: Cannot read property 'onbeforeupdate' of undefined
    at VM295 forum-30514192.js:25
    at f (VM295 forum-30514192.js:25)
    at h (VM295 forum-30514192.js:25)
    at VM295 forum-30514192.js:25
    at f (VM295 forum-30514192.js:25)
    at VM295 forum-30514192.js:25
    at f (VM295 forum-30514192.js:25)
    at h (VM295 forum-30514192.js:25)
    at VM295 forum-30514192.js:25
    at f (VM295 forum-30514192.js:25)
VM302 forum-30514192.js:25 TypeError: Cannot read property 'onbeforeupdate' of undefined
    at VM302 forum-30514192.js:25
    at f (VM302 forum-30514192.js:25)
    at h (VM302 forum-30514192.js:25)
    at VM302 forum-30514192.js:25
    at f (VM302 forum-30514192.js:25)
    at VM302 forum-30514192.js:25
    at f (VM302 forum-30514192.js:25)
    at h (VM302 forum-30514192.js:25)
    at VM302 forum-30514192.js:25
    at f (VM302 forum-30514192.js:25)
# php /usr/local/bin/extiverse check --ansi
+------------------------------------------+----------------+---------------+------+------------------------------------+
| Extension                                | Installed      | Highest       | FLC* | Discuss                            |
+------------------------------------------+----------------+---------------+------+------------------------------------+
| flarum                                   | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| askvortsov/flarum-auth-sync              | v2.0.0         | 2.0.0         | yes  |                                    |
| askvortsov/flarum-discussion-templates   | v0.3.0         | 0.3.0         | yes  |                                    |
| askvortsov/flarum-moderator-warnings     | v0.4.0         | 0.4.0         | yes  |                                    |
| clarkwinkelmann/flarum-ext-circle-groups | 0.2.3          | 0.2.3         | yes  | https://discuss.flarum.org/d/20544 |
| clarkwinkelmann/flarum-ext-emojionearea  | 0.3.0          | 0.3.0         | yes  | https://discuss.flarum.org/d/4787  |
| flarum/approval                          | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/bbcode                            | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/emoji                             | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/flags                             | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/lang-english                      | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/likes                             | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/lock                              | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/markdown                          | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/mentions                          | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/nicknames                         | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/pusher                            | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/statistics                        | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/sticky                            | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/subscriptions                     | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/suspend                           | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| flarum/tags                              | v0.1.0-beta.15 | 0.1.0-beta.15 | yes  |                                    |
| fof/analytics                            | 0.11.0         | 0.11.0        | yes  | https://discuss.flarum.org/d/1983  |
| fof/bbcode-tabs                          | 0.2.1          | 0.2.1         | yes  | https://discuss.flarum.org/d/21033 |
| fof/best-answer                          | 0.3.1          | 0.3.1         | yes  | https://discuss.flarum.org/d/21894 |
| fof/byobu                                | 0.6.0          | 0.6.0         | yes  | https://discuss.flarum.org/d/4762  |
| fof/custom-footer                        | 0.3.0          | 0.3.0         | yes  | https://discuss.flarum.org/d/17774 |
| fof/default-group                        | 0.3.1          | 0.3.1         | yes  | https://discuss.flarum.org/d/18158 |
| fof/default-user-preferences             | 0.3.1          | 0.3.1         | yes  | https://discuss.flarum.org/d/18607 |
| fof/drafts                               | 0.3.1          | 0.3.1         | yes  | https://discuss.flarum.org/d/20957 |
| fof/follow-tags                          | 0.6.2          | 0.6.2         | yes  | https://discuss.flarum.org/d/20525 |
| fof/formatting                           | 0.3.1          | 0.3.1         | yes  | https://discuss.flarum.org/d/17770 |
| fof/gamification                         | 0.4.0          | 0.4.0         | yes  | https://discuss.flarum.org/d/20671 |
| fof/geoip                                | 0.3.0          | 0.3.0         | yes  | https://discuss.flarum.org/d/21493 |
| fof/github-autolink                      | 0.1.5          | 0.1.5         | yes  | https://discuss.flarum.org/d/21856 |
| fof/links                                | 0.5.0          | 0.5.0         | yes  | https://discuss.flarum.org/d/18335 |
| fof/masquerade                           | 0.3.6          | 0.3.6         | yes  | https://discuss.flarum.org/d/5791  |
| fof/merge-discussions                    | 0.5.1          | 0.5.1         | yes  | https://discuss.flarum.org/d/19460 |
| fof/moderator-notes                      | 0.4.0          | 0.4.0         | yes  | https://discuss.flarum.org/d/22925 |
| fof/nightmode                            | 0.7.1          | 0.7.1         | yes  | https://discuss.flarum.org/d/21492 |
| fof/oauth                                | 0.2.0          | 0.2.0         | yes  | https://discuss.flarum.org/d/25182 |
| fof/pages                                | 0.6.0          | 0.6.0         | yes  | https://discuss.flarum.org/d/18301 |
| fof/polls                                | 0.3.1          | 0.3.1         | yes  | https://discuss.flarum.org/d/20586 |
| fof/pretty-mail                          | 0.3.0          | 0.3.0         | yes  | https://discuss.flarum.org/d/11178 |
| fof/prevent-necrobumping                 | 0.4.0          | 0.4.0         | yes  | https://discuss.flarum.org/d/18312 |
| fof/profile-image-crop                   | 0.2.1          | 0.2.1         | yes  | https://discuss.flarum.org/d/18286 |
| fof/reactions                            | 0.5.0          | 0.5.0         | yes  | https://discuss.flarum.org/d/20655 |
| fof/realtimedate                         | 0.2.1          | 0.2.1         | yes  |                                    |
| fof/socialprofile                        | 0.2.0          | 0.2.0         | yes  | https://discuss.flarum.org/d/18775 |
| fof/split                                | 0.6.0          | 0.6.0         | yes  |                                    |
| fof/subscribed                           | 0.4.1          | 0.4.1         | yes  | https://discuss.flarum.org/d/20917 |
| fof/upload                               | 0.12.0         | 0.12.0        | yes  | https://discuss.flarum.org/d/4154  |
| fof/user-bio                             | 0.4.0          | 0.4.0         | yes  | https://discuss.flarum.org/d/17775 |
| fof/user-directory                       | 0.5.0          | 0.5.0         | yes  | https://discuss.flarum.org/d/5682  |
| ianm/follow-users                        | 0.1.0          | 0.1.0         | yes  | https://discuss.flarum.org/d/25701 |
| maicol07/flarum-ext-sso                  | 1.3.0          | 1.7           | no   | https://discuss.flarum.org/d/21666 |
| michaelbelgium/flarum-discussion-views   | v5.0.0         | 5.0.0         | yes  | https://discuss.flarum.org/d/7339  |
| nearata/flarum-ext-tags-color-generator  | v1.2.0         | 1.2.0         | yes  |                                    |
| zerosonesfun/hashtags                    | 4.0.2          | 4.0.2         | yes  |                                    |
+------------------------------------------+----------------+---------------+------+------------------------------------+
* FLC: Compatiblity of extension with latest Flarum version: 0.1.0-beta.15

Start by disabling maicol07/flarum-ext-sso and then all others under that in the list if the issue persists. Once the issue is gone feel free to try to enable those you previously disabled but test after each one.