Third party plugin causing blank page


#1

I have empty page problem on my Discourse project. I can visit with Google Chrome but when i visit with the incognito tab Discourse page is empty.

My logs

What do you think?


(Jeff Wong) #2

Do you have any plugins or themes installed that might be causing this? You can enter your site through /safe-mode, check out How to use Discourse Safe Mode


#3

It’s already working with admin account. But when visit in new incognito tab it doesn’t work. May nationalflags plugin causes this?

UPDATE: It works with “disable unofficial plugin” option. How i can fix unofficial plugins?


(Jeff Wong) #4

it helps narrow down what kind of issue you’re having. You’ve now identified that there’s an unofficial plugin that’s causing it. As to which plugin it is, you can now disable 3rd party plugins one by one and see which one is causing the issue.

Curious, what plugins do you have installed?


#5

My app.yml file:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
          - git clone https://github.com/davidtaylorhq/discourse-whos-online.git
          - git clone https://github.com/discourse/discourse-adplugin.git
          - git clone https://github.com/bekircem/discourse-nationalflags.git

(Jeff Wong) #6

Ah I didn’t realize that you were working on a fork of nationalflags. Were I a betting man, I’d say something in the fork would need fixing. :wink:


#7

I am trying to deactivate nationalflags and problem doesn’t fix. It’s not about nationalflags.

Which could be?


(Jeff Wong) #8

The only other one is the discourse-whos-online plugin, try toggling that one.


#9

I am disabled all plugins and problem is not solved. :confused: Why?


(Jeff Wong) #10

Are you sure you’re actually disabling the plugins? In this case, this means commenting it out in your app.yml file with a # and rebuilding.


#11

Yes, i removed these lines and rebuild. It seems problem doesn’t fixed yet.

  - git clone https://github.com/discourse/discourse-spoiler-alert.git
  - git clone https://github.com/davidtaylorhq/discourse-whos-online.git
  - git clone https://github.com/discourse/discourse-adplugin.git
  - git clone https://github.com/bekircem/discourse-nationalflags.git