Too few arguments to function Properties::get(), 1 passed in [PATH] and exactly 1 expected
还没有人认领这个 Issue。
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.1k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 96
描述
Description
After updating composer on multiple projects I encounter a weird exception which appear 1 time on different projects (just a few not all) and different methods and it happens just 1 time, after reloading php-fpm everything works again.
Here some examples:
Too few arguments to function Properties::get(), 1 passed in [PATH] on line [LINE] and exactly 1 expected
Too few arguments to function framework\Model\Module\Base::_setTable(), 1 passed in [PATH] on line [LINE] and exactly 1 expected
ArgumentCountError Too few arguments to function framework\Sanitize::filename(), 1 passed in [PATH] on line [LINE] and exactly 1 expected
Maybe it has something to do with opcache?
PHP Version
8.3.14
Operating System
CentOS 9
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未指定源文件、测试或入口点。首先在 CentOS 9 上使用 PHP 8.3.14 重现间歇性 ArgumentCountError,并比较重新加载 php-fpm 前后的行为,重点关注报告中提到的 opcache 可能产生的影响。完成的标准是确定一个可重现的原因和经过验证的修复方案,或清楚地记录重现过程。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100