Skip to content
New issue

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

怎么解决 #7

Open
Jacklchen opened this issue Jun 23, 2022 · 3 comments
Open

怎么解决 #7

Jacklchen opened this issue Jun 23, 2022 · 3 comments

Comments

@Jacklchen
Copy link

image

@sysweekup
Copy link

解决办法
Plugin.php 中第276行

widget = new $className(Typecho_Request::getInstance(), Typecho_Widget_Helper_Empty::getInstance());
改成

$widget = $className::alloc();
禁用后重新启用即可~

@liaocp666
Copy link

解决办法 Plugin.php 中第276行

widget = new $className(Typecho_Request::getInstance(), Typecho_Widget_Helper_Empty::getInstance()); 改成

$widget = $className::alloc(); 禁用后重新启用即可~

大佬牛逼

@suaifu
Copy link

suaifu commented Jan 4, 2024

这个方法可行,谢谢大佬🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants