Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] comments.php导致博客无法访问 #669

Open
Lucas2011wastaken opened this issue Jul 22, 2024 · 2 comments
Open

[Bug] comments.php导致博客无法访问 #669

Lucas2011wastaken opened this issue Jul 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Lucas2011wastaken
Copy link

主题版本

1.3.5

Bug 类型

该 Bug 是后端问题

浏览器

此问题与前端无关

普遍性

否,只出现在特定的网站,并且知道触发条件

问题描述

安装Argon后,网站文章无法正常打开,提示agron PHP Warning: Undefined variable $commentCaptchaSeed in D:\wordpress\wp-content\themes\argon\comments.php on line 231

将该文件注释掉后,文章能正常打开,但是评论区无法正常渲染

复现步骤

  1. 打开主页
  2. 任意点击一篇文章
  3. 出现问题

截图

屏幕截图 2024-07-22 224041
屏幕截图 2024-07-22 224136
屏幕截图 2024-07-22 224201

附加说明

使用IIS构建,不知道是不是这个的问题

@Lucas2011wastaken Lucas2011wastaken added the bug Something isn't working label Jul 22, 2024
@Junnstoy
Copy link

新建页面留言板,设置勾选允许评论,存在相同问题。留言板页面无法打开,报错PHP Warning: Undefined variable $commentCaptchaSeed in E:\wordpress\wp-content\themes\argon-theme-master\comments.php on line 231.

@Lucas2011wastaken
Copy link
Author

临时解决方案:把231行整行全部删掉
是不是太粗暴了一点ᶘ ᵒᴥᵒᶅ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants