:( Error while trying to load Something went wrong


(Adrelanos) #1

v1.7.0.beta9 +4

:(
Error
while trying to load
Something went wrong. 

Getting this since a while. How to debug? How to fix?

There is nothing in apache error log.


(Joshua Rosenfeld) #2

Anything in yoursite.com/logs or your web browser’s console? Apache should have nothing to do with Discourse…


(Adrelanos) #3

I should have added, it works once pressing the reload button (inside the browser window) (reload button by discourse) (not alt + f5)

yoursite.com/logs had one error.

NoMethodError (undefined method `parent_category_id' for nil:NilClass) /var/www/discourse/plugins/localized-categories/plugin.rb:15:in `set_tmp_locale'

So I disabled that localized-categories plugin for now.
Otherwise just warnings and no other errors / fatal.

However, no new log entries while the Error while trying to load is happening to me.

I should have added this is been happening since Debian stable upgrades were applied. (Regular Debian jessie repository.) Perhaps related, mysql and memchached were upgraded.


There are some error in browser console.

2:1 Error parsing header X-XSS-Protection: 1; mode=block, 1; mode=block: expected semicolon at character position 14. The default protections will be applied.
_application-e9b4a08….js:100302TypeError: Discourse.ajax is not a function(…)error @ _application-e9b4a08….js:100302
_ember_jquery-37ec894….js:27669 Error while processing route: topic.fromParamsNear Discourse.ajax is not a function TypeError: Discourse.ajax is not a function
    at r._didTransition (https://forums.whonix.org/assets/plugin-third-party-c99b87b9ae0bbe9a404e6e6e1de4e186a59f2d9a7d11735b285cd6d1f4708615.js:1:3272)
    at r.didTransition (https://forums.whonix.org/assets/plugin-third-party-c99b87b9ae0bbe9a404e6e6e1de4e186a59f2d9a7d11735b285cd6d1f4708615.js:1:3024)
    at r (https://forums.whonix.org/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:9:29897)
    at Object.A [as triggerEvent] (https://forums.whonix.org/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:11:1123)
    at Object.u [as trigger] (https://forums.whonix.org/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:17:14751)
    at v (https://forums.whonix.org/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:17:1238)
    at https://forums.whonix.org/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:16:31043
    at b (https://forums.whonix.org/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:17:18041)
    at y (https://forums.whonix.org/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:17:18136)
    at v (https://forums.whonix.org/assets/ember_jquery-37ec8949e7219a8c2b3cdebef9d43bc64a66860ec196f3e10bea842d0296256f.js:17:17944)k @ _ember_jquery-37ec894….js:27669
_ember_jquery-37ec894….js:31194 TypeError: Discourse.ajax is not a function
    at r._didTransition (_plugin-third-party-c99b87b….js:185)
    at r.didTransition (_plugin-third-party-c99b87b….js:165)
    at r (_ember_jquery-37ec894….js:22364)
    at Object.A [as triggerEvent] (_ember_jquery-37ec894….js:27714)
    at Object.u [as trigger] (_ember_jquery-37ec894….js:51140)
    at v (_ember_jquery-37ec894….js:50187)
    at _ember_jquery-37ec894….js:49608
    at b (_ember_jquery-37ec894….js:51473)
    at y (_ember_jquery-37ec894….js:51488)
    at v (_ember_jquery-37ec894….js:51456)s @ _ember_jquery-37ec894….js:31194
Framework Event Listeners API Errors:
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empt
Framework Event Listeners API Errors:
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empt
Framework Event Listeners API Errors:
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empty
        event listener's handler isn't a function or empt

(Rafael dos Santos Silva) #4

Try disabling third party plugins on Safe Mode.


(Joshua Rosenfeld) #5

Looks like localized categories is marked as broken. I’d recommend getting in touch with the developer if you would like to get it “un-broken”.


(Adrelanos) #6

Cannot test if it works in save mode.

This is because this bug only happens when opening a new tab. Inside the same tab it never happens. Installed plugins should be only official ones.

          discourse-details
          discourse-nginx-performance-report
          docker_manager
          lazyYT
          localized-categories [This is shown as disabled under /admin/plugins.]
          poll

Do you mean that /admin/plugins showing localized-categories as disabled could still break discourse?


(Joshua Rosenfeld) #7

It shouldn’t, but if there’s an error in the plugin code (not saying there is…) it could still interfere.


(Rafael dos Santos Silva) #8

It will. Disables in the admin interface disable functionality.

Safe Mode was created because it isn’t enough when plugin is incompatible with current version.


(Jeff Atwood) #9