Erro ao obter: Ops, o software que sustenta este fórum de discussão encontrou um problema inesperado após a atualização

Oops
O software que alimenta este fórum de discussão encontrou um problema inesperado. Pedimos desculpas pelo inconveniente.

Informações detalhadas sobre o erro foram registradas e uma notificação automática gerada. Vamos dar uma olhada.

Nenhuma ação adicional é necessária. No entanto, se a condição de erro persistir, você pode fornecer detalhes adicionais, incluindo passos para reproduzir o erro, postando um tópico de discussão na categoria de feedback do site.

Não recebo o log com o link Sitetor.com/logs. Esta é uma página de erro 404 normal.
Acesso a página do modo de segurança Ok, mas nenhuma ação quando escolho:

  • Desativar temas e componentes de tema
  • Desativar personalizações de plugin não oficiais do lado do cliente
  • Desativar todas as personalizações de plugin do lado do cliente

Coloquei ## antes de cada linha de plugin no arquivo app.yml. Apenas para retornar o plugin do Docker manager.

E executei o comando launcher Rebuild app.
Mas sem efeito.
Reiniciei meu servidor Vultr após 1 hora, mas ainda recebo a mesma mensagem OPS.

:frowning:

Hmm. :thinking: Este é um caso complicado. Não há muita informação para trabalhar com o erro no console do navegador.

Estou imaginando se você não consegue ver o /logs porque não está logado. Pode ser possível usar a página de login do administrador para contornar o que quer que esteja acontecendo e obter acesso aos logs, se você puder tentar isso (/u/admin-login).

2 curtidas

Eu insiro meu e-mail de administrador e recebo um link de sessão de login no e-mail, mas quando sigo esse link, volto a ver essa mensagem novamente:

Ops

Essa foi uma tentativa um pouco remota.

É incomum que comentar os plugins não ajude. Quando você reconstruiu depois, a reconstrução foi bem-sucedida?

1 curtida

Obrigado, Sucesso.
Ontem, eu reconstruí o aplicativo OK, meu fórum OK. Mais tarde, recebi uma notificação de atualização na página de administração, atualizei pelo site. Mais tarde, recebi a mensagem “Ops… …”
Então, reconstruí novamente via linha de comando. E deu erro até agora.

Aqui estão meus Logs na página Log

CSP Violation: 'https://sitetor.com/assets/plugins/footnote-79e2a367b53b791240c3504826b87b2787c9d197d77cd422969d592aae9cf23b.js'
5 Jun 8:27
CSP Violation: 'https://sitetor.com/assets/plugins/discourse-lazy-videos-bdf1486acc96b228a2163490640a2bdc90f5e0a1bb1949335fd1fde2ad48795c.js'
5 Jun 8:27
CSP Violation: 'https://sitetor.com/theme-javascripts/a3636f1729d8c81989eb6665a5a33c82564fcec4.js?__ws=sitetor.com'
5 Jun 8:27
CSP Violation: 'https://sitetor.com/theme-javascripts/ca4f2222209109b7d767260935bb303d2b284516.js?__ws=sitetor.com'
5 Jun 8:27
Deprecation notice: `SiteSetting.min_trust_level_to_allow_ignore` foi descontinuado. Por favor, use `SiteSetting.ignore_allowed_groups` em vez disso. (remoção no Discourse 3.3) Em /var/www/discourse/lib/gua
8 Jun 19:55
15
CSP Violation: 'https://www.google-analytics.com'
10 Jun 21:32
2
CSP Violation: 'https://sitetor.com/svg-sprite/sitetor.com/svg-93-10018d578f2d963b00e0465dc2060daae0e3a6cc.js'
16 Jun 15:24
CSP Violation: 'https://sitetor.com/javascripts/magnific-popup/1.1.0/jquery.magnific-popup.min.js'
16 Jun 15:24
6
CSP Violation: 'wasm-eval'
22 Jun 10:05
ActiveRecord::RecordNotUnique (PG::UniqueViolation: ERROR: duplicate key value violates unique constraint \"index_topic_tags_on_topic_id_and_tag_id\" DETAIL: Key (topic_id, tag_id)=(65105, 601) alread
30 Jun 11:47
Failed to handle exception in exception app middleware : ActiveRecord::RecordNotUnique : PG::UniqueViolation: ERROR: duplicate key value violates unique constraint \"index_topic_tags_on_topic_id_and_t
30 Jun 11:47
10
NoMethodError (undefined method `scan' for {:one=>"Categories (%{count} more)…", :other=>"Categories (%{count} more)…"}:Hash) lib/i18n/i18n_interpolation_keys_finder.rb:6:in `find' app/controllers/adm
30 Jun 21:19
24
CSP Violation: 'eval' () => { utils.preloadCache() }
1 Jul 23:34
21
NoMethodError (undefined method `slug_path' for nil:NilClass) app/models/category.rb:1103:in `slug_path' app/models/category.rb:945:in `block in url' lib/distributed_cache.rb:20:in `defer_get_set' app
4 Jul 9:59
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
4 Jul 15:23
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
4 Jul 15:23
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
5 Jul 16:17
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
5 Jul 16:17
Deprecation notice: `AdminDashboardData#add_problem_check` foi descontinuado. Implemente uma classe que herde `ProblemCheck` em vez disso. (remoção no Discourse 3.3) Em /var/www/discourse/plugins/discourse-si
6 Jul 1:00
20
CSP Violation: 'https://sitetor.com/assets/start-discourse-c524a8995f2f0cbcea43353efe8e8f269da821ea97c21ef0f04df5fcd916170a.js'
Dom 16:33
20
CSP Violation: 'https://sitetor.com/assets/browser-update-9070f07226d022f68c06506e046ae33f8fe725302ff53955cd3d483f2fc47ff6.js'
Dom 16:33
CSP Violation: 'https://sitetor.com/svg-sprite/sitetor.com/svg-87-ca7d0fff2c92f16b8b655f85bb0a36f4c6eb98df.js'
Dom 16:33
CSP Violation: 'https://sitetor.com/uploads/default/original/2X/d/d8ce366bd7aad8f9fc7b26b08aecc855dd6d425c.js'
Dom 16:33
3
CSP Violation: 'https://pagead2.googlesyndication.com'
Dom 16:33
23
ActionView::Template::Error (undefined method `slug_path' for nil:NilClass) app/models/category.rb:1103:in `slug_path' app/models/category.rb:945:in `block in url' lib/distributed_cache.rb:20:in `defe
Seg 18:50
69
RequestTracker.get_data failed : Encoding::UndefinedConversionError : "\\xA3" from ASCII-8BIT to UTF-8
Ter 2:15
181
RequestTracker.get_data failed : Encoding::UndefinedConversionError : "\\xA1" from ASCII-8BIT to UTF-8
Ter 15:52
8
Deprecation notice: `UsersController#modify_user_params` method is deprecated. Please use the `users_controller_update_user_params` modifier instead. (deprecated since Discourse 3.1.0.beta4) (removal
Ter 23:18
Deprecation notice: `AdminDashboardData#add_problem_check` foi descontinuado. Implemente uma classe que herde `ProblemCheck` em vez disso. (remoção no Discourse 3.3) Em /var/www/discourse/plugins/discourse-si
Qua 14:46
Corrupt cache... skipping entry for key _CACHE:sitemap/1/50000 : ArgumentError : dump format error (user class)
Qua 18:39
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
Qua 22:51
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
Qua 22:51
Deprecation notice: `AdminDashboardData#add_problem_check` foi descontinuado. Implemente uma classe que herde `ProblemCheck` em vez disso. (remoção no Discourse 3.3) Em /var/www/discourse/plugins/discourse-si
5:40
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
5:57
Failed to handle exception in exception app middleware : ActionView::Template::Error : {:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}
5:57
Deprecation notice: `AdminDashboardData#add_problem_check` foi descontinuado. Implemente uma classe que herde `ProblemCheck` em vez disso. (remoção no Discourse 3.3) Em /var/www/discourse/plugins/discourse-si
8:49
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
9:03
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
9:18
Deprecation notice: `AdminDashboardData#add_problem_check` foi descontinuado. Implemente uma classe que herde `ProblemCheck` em vez disso. (remoção no Discourse 3.3) Em /var/www/discourse/plugins/discourse-si
10:11
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
10:48
3
NoMethodError (undefined method `slug_path' for nil) app/models/category.rb:1229:in `slug_path' app/models/category.rb:1069:in `block in url' lib/distributed_cache.rb:20:in `defer_get_set' app/models/
12:26
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
13:21
10
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
13:46
16
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
13:48
59
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
14:52
47
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
14:10
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
14:23
16
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
14:24
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
14:25
17
Failed to handle exception in exception app middleware : ActionView::Template::Error : {:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}
14:25

Esse erro de ‘registro não exclusivo’ sugere que você tem um índice corrompido. Você precisará encontrar os tópicos que definem como corrigir isso (principalmente excluir as tags duplicadas).

Você tem tags em maiúsculas e minúsculas, por acaso? (como mytag e myTag)

1 curtida

Eu não me lembro.
Existe algum comando SSH para listar tags criadas?
No entanto, embora eu não consiga acessar a página inicial em uma nova aba, felizmente meu navegador ainda retém a aba antiga antes da atualização, e eu ainda posso carregar muitos novos tópicos na página inicial.

Você pode navegar até a página de tags?

Mas você precisará resolver seu problema de banco de dados manualmente. Será mais fácil simplesmente excluir as entradas duplicadas.

Acho que há alguns tópicos sobre como fazer isso em outros casos.

Acho que você tenta reconstruir o índice, encontrar a coisa que faz com que ele falhe e, em seguida, excluí-la e fazer isso até que funcione.

Tentei acessar a página de tags, mas não funcionou. Esse erro ocorreu quando fiz o upgrade. Por que o fórum ainda funciona normalmente sem fazer o upgrade? Como resolver seu problema de banco de dados manualmente? Sou um usuário normal, não um desenvolvedor :frowning:

Eu não sei. Talvez algo tenha mudado e agora as tags não diferenciam maiúsculas de minúsculas? Ou talvez seja um bug.

Mas isso parece ter a ver com tags não serem únicas de alguma forma:

Não é uma tarefa para um usuário normal.

1 curtida

And How about this error ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in output_MF’ app/controllers/`

Before, I use Remove Dashes from Tag Names. Are they the cause of duplicate Tags?

I access success to tag page:

There is all tags in tags page, And I didn’t find any pairs of duplicate tags

View tag page detail

Tag

Xếp theo: đếm tên


Đắc địa

Góc 2 mặt tiền x 70

Góc 3 mặt tiền x 2

Góc 4 mặt tiền x 1

Domains

Add Villa x 4

Mặt Bằng Kinh Doanh

Raise Building x 2

Dự án

Vinhomes Central Park x 1

Hướng

Bắc x 1

Đông x 1

Đông Bắc x 1

Đông Nam x 1

Nam x 1

Tây x 1

Tây Bắc x 1

Kinh doanh

24h x 3

Anh ngữ

Cafe x 7

Cây xăng x 1

Chuỗi x 58

Cửa hàng thực phẩm x 1

Điện thoại x 2

Game x 1

Giải trí x 6

Giao hàng x 1

Giặt ủi x 1

Giày dép x 3

Gym x 1

Hầm rựu x 1

Karaoke x 8

Mắt kính x 1

Nhà hàng x 10

Nha khoa x 2

Nhà sách x 2

Nhà thuốc x 3

Nội thất x 5

Phòng công chứng

Phòng khám x 2

Phòng thu x 1

Pizza x 2

Quán ăn x 2

Quán nhậu x 3

Salon x 1

Sang x 1

Showroom x 10

Siêu thị x 8

Spa x 3

Thời trang x 11

Thức ăn nhanh x 2

Tiệm net x 1

Trà sữa x 1

Trái cây x 1

Trang sức x 1

Trường học x 2

Văn phòng x 18

Xe hơi x 1

Xe máy x 2

Xì gà x 1

Loại BĐS

Biệt thự Villa x 20

Căn hộ chung cư x 27

Căn hộ dịch vụ x 1

Chung cư x 23

Đất x 11

Duplex

Kho xưởng x 1

Kiot vỉa hè

Mall

Mặt bằng Nhà phố x 361

Penhouse

Phòng trọ

Sân thượng x 1

ShophouseViet x 3

Tòa nhà x 3

Văn phòng x 18

Loại giao dịch

Bán x 47

Cần mua x 32

Cần thuê x 413

Cho thuê x 12942

Mặt tiền (m)

Ngang 10m x 632

Ngang 11m x 539

Ngang 12m x 553

Ngang 13m x 396

Ngang 14m x 403

Ngang 15m x 504

Ngang 16m x 332

Ngang 17m x 158

Ngang 18m x 262

Ngang 19m x 38

Ngang 20m x 445

Ngang 3m x 988

Ngang 4m x 1562

Ngang 5m x 907

Ngang 6m x 977

Ngang 7m x 978

Ngang 8m x 959

Ngang 9m x 976

Mục đích sử dụng

Đầu tư x 1

Để ở x 5

Kinh doanh x 392

tickets_priority

tickets_reason

tickets_status

TPHCM

Bình Chánh

Bình Tân x 1

Bình Thạnh x 2

Cần Giờ x 1

Củ Chi x 1

Gò Vấp x 1

Hóc Môn x 1

Nhà Bè x 1

Quận 1 x 2

Quận 10 x 1

Quận 11 x 1

Quận 12 x 2

Quận 2 x 1

Quận 3 x 1

Quận 4 x 1

Quận 5 x 1

Quận 6 x 1

Quận 7 x 1

Quận 8 x 1

Quận 9 x 1

Quận Phú Nhuận x 1

Tân Bình

Tân Phú x 1

Thủ Đức x 1

Trạng thái giao dịch

Chưa xác định x 1

Đã giao dịch x 2

Đang giao dịch x 1

Ngưng giao dịch x 1

Vị trí

Hẻm ngõ x 8

Mặt tiền x 12914

Nội bộ x 1

Các thẻ khác

3PN x 2

4 lầu x 1

Bán đất x 2

Bán nhà x 1

Bình Trị Đông A x 1

Cơ hội x 2

Có Video x 6

cv x 1

Đã cập nhật sổ hồng x 2

Đã đặt cọc x 1

Đà Nẵng x 1

Đất trống x 1

DT 10x24m x 1

DT 17x31m x 1

DT 4x16m x 1

DT 4X17M x 1

DT 4x18 x 1

DT 4x20 x 1

DT 5x15m x 1

DT 5x19m x 1

DT 6x28 x 1

DT 7x21m x 1

DT 8x15m x 1

DT 8x20m x 1

DT 8x22m x 1

DT 8x26m x 1

DT 9x41m x 1

DT đất 105m2 x 1

DT: 10x7m x 1

DT: 6x17m x 1

DTS 120m2

DTS 2880m2 x 1

DTSD 805m2 x 1

dự án x 1

Flycam x 1

Giá 100 tỷ x 1

Giá 108 tỷ x 1

Giá 110 tỷ x 1

Giá 130 tỷ x 1

Giá 150 tỷ x 3

Giá 180 tỷ x 1

Giá 200 tỷ x 1

Giá 218 tỷ x 1

Giá 220 tỷ x 1

Giá 26 tỷ x 1

Giá 27 tỷ x 1

Giá 28 tỷ x 3

Giá 31 tỷ x 1

Giá 34 tỷ x 1

Giá 35 tỷ x 1

Giá 36 tỷ x 1

Giá 43 tỷ x 1

Giá 48 tỷ x 1

Giá 53 tỷ x 1

Giá 55 tỷ x 1

Giá 60 tỷ x 2

Giá 63 tỷ x 1

Giá 7 tỷ x 1

Giá 70 tỷ x 1

Giá 74 tỷ x 1

Giá 76 tỷ x 1

Giá 79 tỷ x 1

Giá 80 triệu x 1

Giá 80 tỷ x 1

Giá 85 tỷ x 1

Giá đất 350 triệu m2 x 1

Giá thuê 50 triệu x 1

Giá thuê 50 triệu tháng x 1

Giá: 27 tỷ x 1

Giá: 29 tỷ x 1

Giá: 32 tỷ x 1

Giá: 39 tỷ x 1

Kết cấu 7 lầu x 1

Kết cấu trệt 7 lầu x 1

khách nhà bán x 1

Không thuê x 2

Khu cây xanh x 1

Loại BĐS x 2

Mặt bằng x 1

Mặt Bằng Đẹp x 69

Mặt tiền 17

Mặt tiền 4m x 1

Ngang 26m x 1

Ngang 29m x 1

Ngưng bán x 2

Ngưng cho thuê x 1

Nhà x 5

Nhà Bến Nghé x 1

Nhà phố x 5

Nhà VT x 1

Phân khúc 100 200 tỷ x 3

Phần khúc 100 200 tỷ x 1

Phân khúc 20 50 tỷ x 1

Phân khúc 200 300 tỷ x 1

Phân khúc 50 100 tỷ x 3

Phân khúc dưới 10 tỷ x 1

Phường 13 Phú Nhuận x 1

Phường 9 Quận 3

Phường Bến Nghé x 5

Phường Bến Thành x 174

Phường Cầu Kho x 1

Phường Cầu Ông Lãnh x 1

Phường Đa Kao x 2

Phường Nguyễn Thái Bình x 2

Phường Thảo Điền x 3

Phường Võ Thị Sáu x 2

Quy hoạch Nhà ở Đô Thị x 1

Sang nhượng x 2

Tân Định x 1

TDT 62m2

Thiết kế Decor x 14

Thuê bao x 1

Tòa nhà văn phòng x 2

TPHCM x 417

Trệt 2 lầu x 1

Việc làm x 13

Villa x 1

vnBuildings x 4

Võ Văn Kiệt x 1

VP x 1

Xuống giá x 1

I see 2 tag same “Phân” & “Phần”
Phân khúc 100 200 tỷ x 3
Phần khúc 100 200 tỷ x 1

i deleted this tag:
Phần khúc 100 200 tỷ x 1
But unstill not access Homepage :frowning:

2 curtidas

Como este é um Theme component, você pode desativá-lo na aba de componentes. Não tenho certeza se isso pode causar o problema, pois, pelo que entendo, essas são modificações do lado do cliente. Este componente em particular está apenas alterando a aparência das tags. Não há problema em testar para descartá-lo.

Onde seu banco de dados está do lado do servidor.

1 curtida

Sim! @Heliosurge acessei a página de Configurações e desativei todos os componentes de tema e selecionei o tema padrão. Acessei a página inicial, mas não teve efeito.

1 curtida

Se a execução em modo de segurança não funcionar. Então, você pode precisar considerar postar em Marketplace se não estiver familiarizado/confortável com a reconstrução manual.

Eu sei, pelo que @pfaffman disse, que eu precisaria procurar ajuda nesta situação.

Olá, quais Operações em Massa Administrativas posso excluir (topic_id, tag_id)=(65105, 601)?

Obrigado

1 curtida

Criei o tópico Preciso resolver meu problema de banco de dados manualmente, erro com tags não sendo exclusivas após a atualização do fórum e recebi suporte de @itsbhanusharma, mas ainda não consigo encontrar a causa.

Restaurei o servidor Vultr que fiz backup em abril de 2024. Em seguida, restaurei os dados de backup do arquivo Dashboard .tar.gz. Mas ainda obtive o mesmo erro acima. Parece que este backup (arquivo .tar.gz) tem o mesmo erro, embora tenha sido restaurado, o site não pode ser acessado.

Reutilizei a versão do servidor Vultr 044/2024 e desenvolvi o conteúdo até agora.

Hoje, acessei admin/customize/site_texts/js.topic.read_more_MF?locale=en_GB

Para traduzir os conteúdos

tópico restante
ou navegue por outros tópicos em
ver tópicos mais recentes

{ HAS_UNREAD_AND_NEW, select,
  true {
    { UNREAD, plural,
         =0 {}
        one {Há # tópico não lido}
      other {Há # tópicos não lidos}
    }
    { NEW, plural,
         =0 {}
        one { e # tópico novo restante,}
      other { e # tópicos novos restantes,}
    }
  }
  false {
    { UNREAD, plural,
         =0 {}
        one {Há # tópico não lido restante,}
      other {Há # tópicos não lidos restantes,}
    }
    { NEW, plural,
         =0 {}
        one {Há # tópico novo restante,}
      other {Há # tópicos novos restantes,}
    }
  }
  other {}
}
{ HAS_CATEGORY, select,
  true { ou navegue por outros tópicos em {categoryLink}}
  false { ou <a href="{basePath}/latest">ver tópicos mais recentes</a>}
  other {}
}

Com o inglês é bem-sucedido, mas com o vietnamita recebo uma mensagem de erro ao salvar nas configurações que:
Erro: O caso plural 'one' não é válido neste local na linha 4, coluna 15:

e encontro este erro coincidindo com a página Log:

Existe alguma correlação?

Você já leu o tópico sobre como essas strings são traduzidas?

Por que você personaliza o texto em seu fórum? Há algum erro na tradução ou você simplesmente prefere uma redação diferente?

2 curtidas

Muito obrigado pelo seu tutorial, li-o e editei-o da seguinte forma e foi exibido com sucesso:

{ HAS_UNREAD_AND_NEW, select,
  true {
    { UNREAD, plural,
        =0 {}
        other {Có # tin còn lại}
      }
    { NEW, plural,
        =0 {}
        other { và # new chưa đọc,}
      }
  }
  false {
    { UNREAD, plural,
        =0 {}
        other {Có # tin còn lại chưa đọc,}
      }
    { NEW, plural,
        =0 {}
        other {Có # tin mới chưa đọc,}
      }
  }
  other {}
}
{ HAS_CATEGORY, select,
  true { hoặc xem tin tức khác trong {categoryLink}}
  false { hoặc xem tin mới nhất}
  other {}
}
1 curtida