php / php/php-src

Too few arguments to function Properties::get(), 1 passed in [PATH] and exactly 1 expected

Open
#17,626 27 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Category: JIT
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.