Comments (4)
框架未初始化,不能直接使用
from framework.
@big-dream 我使用workerman
扩展,运行自己写的命令行代码,就提示以上错误,我是windows11 运行环境Laragon,经常不知名的就提示以上错误,我也不知道为什么,我去workerman
官网提问,
那作者写了这个test文件..我就来提问。。
from framework.
@big-dream 大佬,#2466 这是我2021年的问题,也是错误都一样,虽然当时解决了。。难道是我哪里用法错误了?
from framework.
只知道是框架没初始化导致的问题,如果要在 workerman 下运行,参考 https://github.com/top-think/think-worker 扩展
from framework.
Related Issues (20)
- 使用 Predis 时模型 save 方法报错 ERR wrong number of arguments for 'del' command HOT 7
- 8.0.3 路由跨域设置 不生效
- StyleCi 规则草案讨论 HOT 6
- The memory overflow problem exists in the framework of versions later than 8.0.0 HOT 5
- Reflected XSS(Cross Site Scripting) HOT 1
- 框架加载配置文件期间的异常无法捕获
- 编辑器提示存在漏洞 HOT 2
- Log::getLog()获取不到日志内容 HOT 1
- composer安装thinkphp8安装失败 HOT 3
- cache 使用redis,并使用getex指令,无法获取前缀 HOT 2
- tp8的session机制改变了吗? HOT 2
- Validate对于有序数组的校验
- Session的Facade能不能也加上Cookie/Cache@method
- 读取.env文件内容残缺 HOT 4
- url生成出现多个index.php HOT 1
- 数据验证类 validate 有关mobile格式 HOT 1
- PHP8.4+版本中大量异常报错 HOT 1
- [bug]获取主机名方法 `request()->domain()` `request()->host()` 的返回,都没有带端口号 HOT 8
- 异常处理需要进一步优化 HOT 1
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 framework.