Comments (8)
通过typecho的版本号来看 应该是做了不兼容的更新导致的
from commentpush.
通过typecho的版本号来看 应该是做了不兼容的更新导致的
debug信息:
Argument 1 passed to Typecho\Validate::required() must be of the type string or null, array given
TypeError: Argument 1 passed to Typecho\Validate::required() must be of the type string or null, array given in /www/wwwroot/blog/var/Typecho/Validate.php:326
Stack trace:
#0 [internal function]: Typecho\Validate->required(Array)
#1 /www/wwwroot/blog/var/Typecho/Validate.php(287): call_user_func_array(Array, Array)
#2 /www/wwwroot/blog/var/Typecho/Widget/Helper/Form.php(185): Typecho\Validate->run(Array, Array)
#3 /www/wwwroot/blog/var/Widget/Plugins/Edit.php(284): Typecho\Widget\Helper\Form->validate()
#4 /www/wwwroot/blog/var/Widget/Plugins/Edit.php(315): Widget\Plugins\Edit->config('CommentPush')
#5 /www/wwwroot/blog/var/Widget/Action.php(71): Widget\Plugins\Edit->action()
#6 /www/wwwroot/blog/var/Typecho/Widget.php(155): Widget\Action->execute()
#7 /www/wwwroot/blog/var/Typecho/Router.php(96): Typecho\Widget::widget('\Widget\Action', NULL, Array)
#8 /www/wwwroot/blog/index.php(23): Typecho\Router::dispatch()
#9 {main}
from commentpush.
通过typecho的版本号来看 应该是做了不兼容的更新导致的
能辛苦更新一下吗
from commentpush.
https://github.com/Stitch-June/CommentPush/releases/tag/2.0.0
from commentpush.
刚才测试,还是不行
from commentpush.
问题没有解决
from commentpush.
1.2.0-rc.2也是一样的报错
from commentpush.
修改AliYunEmailService.php和SmtpService.php
把 widget = new $className(Typecho_Request::getInstance(), Typecho_Widget_Helper_Empty::getInstance());
换成 $widget = $className::alloc();
教程来源https://blog.tsutsu.one/archives/350/
from commentpush.
Related Issues (14)
- 关于评论问题 HOT 3
- 关于 Server酱 推送的接口变更 HOT 5
- Typecho v1.2.0-rc.1 保存报错 HOT 5
- 可否添加pushplus推送接口
- ty1.2突然就报错了 HOT 1
- 开启SMTP,QQ推送和微信推送失效 HOT 3
- 对新版本的typecho支持 HOT 4
- 无法选择推送服务 HOT 1
- 关于Server酱推送方式 HOT 5
- [BUG] 在后台对评论进行回复,不会触发提醒 HOT 4
- 是否可以添加replay to选项
- php8测试评论时候失败 HOT 6
- qq推送貌似失效了 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commentpush.