Too few arguments to function Properties::get(), 1 passed in [PATH] and exactly 1 expected
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named. Start by reproducing the intermittent ArgumentCountError on PHP 8.3.14 with CentOS 9 and compare behavior before and after reloading php-fpm, focusing on the reported possible opcache involvement. Done means identifying a reproducible cause and a verified fix or clearly documented reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100