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
调用方法
$post = Helper::widgetById('contents', $cid);
后报错
Missing argument 1 for Widget_Abstract::__construct()
该方法应该返回一个对象,但是报错参数缺失。针对 1.1 版本是否有解决方案?
Typecho 1.1,PHP 7.2。Typecho 1.2 开发版没有问题。
The text was updated successfully, but these errors were encountered:
暂时使用 5f3620e058 中的修复解决。
Sorry, something went wrong.
No branches or pull requests
1. 该问题的重现步骤是什么?
调用方法
后报错
2. 你期待的结果是什么?实际看到的又是什么?
该方法应该返回一个对象,但是报错参数缺失。针对 1.1 版本是否有解决方案?
3. 问题出现的环境
Typecho 1.1,PHP 7.2。Typecho 1.2 开发版没有问题。
The text was updated successfully, but these errors were encountered: