Giter Club home page Giter Club logo

Comments (8)

Player626 avatar Player626 commented on August 22, 2024

通过typecho的版本号来看 应该是做了不兼容的更新导致的

from commentpush.

KurococLiu avatar KurococLiu commented on August 22, 2024

通过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.

zuohl avatar zuohl commented on August 22, 2024

通过typecho的版本号来看 应该是做了不兼容的更新导致的

能辛苦更新一下吗

from commentpush.

Player626 avatar Player626 commented on August 22, 2024

https://github.com/Stitch-June/CommentPush/releases/tag/2.0.0

from commentpush.

qinians avatar qinians commented on August 22, 2024

刚才测试,还是不行

from commentpush.

asplun avatar asplun commented on August 22, 2024

问题没有解决

from commentpush.

Sagit-chu avatar Sagit-chu commented on August 22, 2024

1.2.0-rc.2也是一样的报错

from commentpush.

jiajiechan avatar jiajiechan commented on August 22, 2024

修改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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.