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

Fatal error: Cannot make static method EasySwoole\Core\AbstractInterface\EventInterface::frameInitialize() non static in class EasySwoole\EasySwooleEvent #81

Closed
encircles opened this issue Apr 18, 2018 · 1 comment

Comments

@encircles
Copy link
Contributor

Fatal error: Cannot make static method EasySwoole\Core\AbstractInterface\EventInterface::frameInitialize() non static in class EasySwoole\EasySwooleEvent in /var/www/easyswooleySwooleEvent.php on line 18
用docker自定义镜像 php7.2 swoole2.1.3
报这个错了 请问怎么解决呢? 如果改Interface那个接口 把static去掉 会不会影响整个框架的运行呢?

@kiss291323003
Copy link
Contributor

这个是出于节约内存的考虑,你可以放心的吧项目中 EasySwooleEvent.php中的几个方法,全部改为静态方法

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

2 participants