O Discourse carrega apenas o cabeçalho na primeira visita; é necessário atualizar a página para carregar o aplicativo completo.

Afternoon all, been stuck on this for a few days. My wack-a-mole approach is not working and haven’t been able to find a post on meta that directly addresses this problem. If I’m missing it, please share the link.

At any rate, has anyone had issues with Discourse only loading the header on mobile devices? I’ve tried turning off mobile layouts, setting “Latest” for the default view and a laundry list of other things.

Here’s a quick look at the issue.

Can you reproduce in Safe Mode ?

It looks like you have a broken theme customization.

Let me give it a shot.

Can’t reproduce in safe mode because when you go to safe mode it immediately refreshes the app and loads the home screen properly.

That’s because

So you should fix that.

Olá @pfaffman, ainda estou trabalhando nisso. Acabei de revisar todas as minhas configurações sobrescritas e redefinir aquelas que poderiam ser problemáticas, mas sem sucesso. Verifiquei todos os meus plugins para garantir que nenhum esteja quebrado. Não há problemas por lá.

          - git clone https://github.com/discourse/discourse-oauth2-basic.git
          - git clone https://github.com/discourse/discourse-patreon.git
          - git clone https://github.com/discourse/discourse-plugin-linkedin-auth.git
          - git clone https://github.com/discourse/discourse-plugin-office365-auth.git
          - git clone https://github.com/discourse/discourse-policy.git
          - git clone https://github.com/discourse/discourse-push-notifications.git
          - git clone https://github.com/discourse/discourse-saved-searches.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
          - git clone https://github.com/discourse/discourse-staff-notes.git
          - git clone https://github.com/discourse/discourse-tooltips.git
          - git clone https://github.com/discourse/discourse-voting.git
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/communiteq/discourse-sitemap.git
          - git clone https://github.com/angusmcleod/discourse-quick-messages.git
          - git clone https://github.com/angusmcleod/discourse-locations.git
          - git clone https://github.com/angusmcleod/discourse-question-answer.git
          - git clone https://github.com/angusmcleod/discourse-ratings.git
          - git clone https://github.com/angusmcleod/discourse-topic-previews.git
          - git clone https://github.com/angusmcleod/discourse-layouts
          - git clone https://github.com/procourse/discourse-full-screen-videos-plugin.git
          - git clone https://github.com/procourse/procourse-static-pages.git
          - git clone https://github.com/featheredtoast/discourse-pwned-passwords.git
          - git clone https://github.com/iunctis/discourse-formatting-toolbar.git
          - git clone https://github.com/jannolii/discourse-topic-trade-buttons.git
          - git clone https://github.com/jgujgu/discourse-blocks.git
          - git clone https://github.com/LeoDavidson/discourse-reset-bump.git
          - git clone https://github.com/rux-pizza/discourse-awesome-bbcodes.git
          - git clone https://github.com/sekhat/discourse-yuml.git
          - git clone https://github.com/synweap15/discourse-voice-record.git
          - git clone https://github.com/unfoldingWord-dev/discourse-mermaid.git
          - git clone https://github.com/jomaxro/discourse-plugin-site-setting-override.git
          - git clone https://github.com/discourse/discourse-data-explorer.git
          - git clone https://github.com/cpradio/discourse-plugin-replygif.git
          - git clone https://github.com/merefield/discourse-onebox-assistant.git

Considerando isso, executei uma auditoria no Chrome e obtive esses resultados. Você vê alguma pista útil aqui?

Tentei remover todo o meu CSS personalizado. Não obtive nenhum resultado. :neutral_face:

Abra as ferramentas de desenvolvedor do navegador e verifique a aba Console para ver se há algum aviso ou erro.

Todos os 200 sem erros no Console. Recentemente, descobri que muitos dos mesmos problemas aparecem no log do site… agora só preciso aprender a ler tanto JavaScript.

Como @falco e @pfaffman mencionaram anteriormente, você tem um tema ou personalização de tema quebrado. Há um erro de sintaxe em algum lugar nos scripts JavaScript do seu tema. Você pode precisar remover componentes do tema ou temas personalizados instalados, um de cada vez, para descobrir onde está o problema.

Lá está. O componente Easy Footer foi o culpado o tempo todo. Grrrr. haha

Obrigado, pessoal!!