Comments (4)
初步排查可能是deleteHandle函数的返回类型与父类不相符导致的。在Typecho 1.2中返回类型应该为boolean而不是string,所以和父类的定义产生冲突而不相容。
/**
* 删除文件
*
* @access public
* @param array $content 文件相关信息
* @return string
*/
public static function deleteHandle(array $content)
from newsmmsfortypecho.
这个问题是由于,插件暂时还不支持Typecho 1.2,在Typecho 1.1中的deleteHandle方法返回值为string,因此插件是可以正常运行的,而在1.2中deleteHandle返回值为boolean。
计划在后两个月适配到Typecho 1.2。
from newsmmsfortypecho.
好吧
from newsmmsfortypecho.
2023年了,我都没想到还有人用1.1的
from newsmmsfortypecho.
Related Issues (2)
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 newsmmsfortypecho.