Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'prototype' of undefined #15

Closed
quest-X opened this issue Feb 27, 2019 · 4 comments
Closed

Uncaught TypeError: Cannot read property 'prototype' of undefined #15

quest-X opened this issue Feb 27, 2019 · 4 comments
Labels
bug Something isn't working

Comments

@quest-X
Copy link

quest-X commented Feb 27, 2019

I met a problem about this
b m7xs i39 8 h 0 i

Uncaught TypeError: Cannot read property 'prototype' of undefined
@Ralkage
Copy link
Contributor

Ralkage commented May 13, 2019

@p4st0r still having this issue? Please respond within 7 days or this will be presumed as no longer an issue :)

@gwillem
Copy link

gwillem commented Aug 18, 2019

Can confirm this issue on all FreeFlarum forums. Disabling reflar/nightmode recovers the error.

Possibly related:

Running PHP 7.2.19-0ubuntu0.18.04.2, MariaDB 1:10.1.41-0ubuntu0.18.04.1 and Firefox 68.0.2+build1-0ubuntu

@dsevillamartin
Copy link
Member

This can be fixed with an initializer priority. We also probably want to make sure flarum/tags is loaded & enabled before extending anything.

@Ralkage
Copy link
Contributor

Ralkage commented Sep 27, 2019

@gwillem @p4st0r we're going to attempt to fix this issue before we release this into the FoF namespace.

@datitisev suggests wrapping that TagsPage extender with if (TagsPage) but we'll see what that does 👍

@Ralkage Ralkage added the bug Something isn't working label Sep 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants