Skip to content

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

Open
@Lucas2011wastaken

Description

@Lucas2011wastaken

主题版本

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构建,不知道是不是这个的问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions