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

对新版本的typecho支持 #20

Open
IF-tiger opened this issue Jun 8, 2022 · 4 comments
Open

对新版本的typecho支持 #20

IF-tiger opened this issue Jun 8, 2022 · 4 comments

Comments

@IF-tiger
Copy link

IF-tiger commented Jun 8, 2022

该插件已不再完美支持新版本的typecho,会报错但是部分功能还是可以正常使用。

@jiajiechan
Copy link

阿里云邮件推送报错
Argument 1 passed to Typecho\Widget::__construct() must be an instance of Typecho\Widget\Request, instance of Typecho\Request given, called in /www/wwwroot/jay.tg/usr/plugins/CommentPush/lib/AliYunEmailService.php on line 182

@jiajiechan
Copy link

修改AliYunEmailService.php和SmtpService.php
把 widget = new $className(Typecho_Request::getInstance(), Typecho_Widget_Helper_Empty::getInstance());
换成 $widget = $className::alloc();

教程来源https://blog.tsutsu.one/archives/350/

@zizdog
Copy link

zizdog commented Jun 3, 2023

没用。

@zizdog
Copy link

zizdog commented Jun 3, 2023

作者可能弃坑了,建议使用:CommentNotifier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants