jiewenhuang / halo-theme-stack

一款优秀的Halo2个人博客主题
GNU General Public License v3.0
99 stars 17 forks source link

偶发性的模板报错 #69

Open ZaNgVVB opened 2 months ago

ZaNgVVB commented 2 months ago

是什么版本出现了此问题?

2.2.2和2.2.6

在线站点地址

https://welphen.com/

发生了什么?

全站,偶发性的报500错误,点击页面5次中有三次会报500错误。

相关日志输出

024-08-16T16:00:16.788+08:00 ERROR 6 --- [undedElastic-20] a.w.r.e.AbstractErrorWebExceptionHandler : [f05e1d52-1380]  500 Server Error for HTTP GET "/search-custom"

org.thymeleaf.exceptions.TemplateProcessingException: Error during execution of processor 'run.halo.app.theme.dialect.GlobalHeadInjectionProcessor' (template: "modules/head" - line 3, col 1)
        at org.thymeleaf.processor.element.AbstractElementModelProcessor.process(AbstractElementModelProcessor.java:141) ~[thymeleaf-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 
Error has been observed at the following site(s):
        *__checkpoint ⇢ Handler run.halo.app.theme.router.SinglePageRoute$$Lambda/0x00000000bbc7efa8@83f08d61 [DispatcherHandler]
        *__checkpoint ⇢ run.halo.app.security.InitializeRedirectionWebFilter [DefaultWe

附加信息

No response

jiewenhuang commented 2 months ago

这似乎并不是主题的问题。

ZaNgVVB commented 2 months ago

这似乎并不是主题的问题。

那这个是哪方面的问题?插件?

ZaNgVVB commented 2 months ago

已解决,是ToolBench插件的问题,禁用后恢复正常