Giter Club home page Giter Club logo

Comments (4)

ranlychan avatar ranlychan commented on July 17, 2024

初步排查可能是deleteHandle函数的返回类型与父类不相符导致的。在Typecho 1.2中返回类型应该为boolean而不是string,所以和父类的定义产生冲突而不相容。

    /**
     * 删除文件
     *
     * @access public
     * @param array $content 文件相关信息
     * @return string
     */
    public static function deleteHandle(array $content)

from newsmmsfortypecho.

ranlychan avatar ranlychan commented on July 17, 2024

这个问题是由于,插件暂时还不支持Typecho 1.2,在Typecho 1.1中的deleteHandle方法返回值为string,因此插件是可以正常运行的,而在1.2中deleteHandle返回值为boolean。

计划在后两个月适配到Typecho 1.2。

from newsmmsfortypecho.

QAQ2077 avatar QAQ2077 commented on July 17, 2024

好吧

from newsmmsfortypecho.

QAQ2077 avatar QAQ2077 commented on July 17, 2024

2023年了,我都没想到还有人用1.1的

from newsmmsfortypecho.

Related Issues (2)

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.