Open giuliomoro opened 2 years ago
I think the problem might be with ianm/follow-users
. Can you try to disable that extension and re-enable it after User Directory to see if the issue goes away?
If that's the case it's surprising because it seems like the extending is done correctly. It's used in JS here https://github.com/imorland/follow-users/blob/d0c156e90feb7fba5ec491048bc1ce4ffc3ed15d/js/src/forum/addFollowingUsers.js#L33 and due to the optional-dependencies
https://github.com/imorland/follow-users/blob/d0c156e90feb7fba5ec491048bc1ce4ffc3ed15d/composer.json#L42 checking for the initializer should be enough.
@imorland want to take a look?
I think the problem might be with ianm/follow-users. Can you try to disable that extension and re-enable it after User Directory to see if the issue goes away?
That worked: I disabled ianm/follow-users, re-enabled fof/user-directory, re-enabled ianm/follow-users. All seems to be working fine now.
Bug Report
I disabled the extension and then re-enabled it. Now when trying to load any page on the user-facing site (e.g.: / or
/d/2031
) I get "Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error." and the js console shows:I tried hard refreshing and
php flarum cache:clear
but none of that works. Only disabling the extension makes the site work again.Environment
grep
'ing for 'fof-user-directory` in the database gives: