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

ty1.2突然就报错了 #19

Open
xyzbz opened this issue May 3, 2022 · 1 comment
Open

ty1.2突然就报错了 #19

xyzbz opened this issue May 3, 2022 · 1 comment

Comments

@xyzbz
Copy link

xyzbz commented May 3, 2022

报错内容 邮件服务应该是兼容性有问题 serv酱没问题
Argument 1passed to Typecho\Widget::__construct()must bean instance of Typecho\Widget\Request,instance of Typecho\Request given,called in /www/wwwroot/typecho/usr/plugins/pluginsCommentPush/lib/SmtpService.php on line 171

@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/

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

2 participants