Skip to content

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

Description

@RV7PR

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

Activity

  1. iluuu1994 commented on Jan 29, 2025

    @iluuu1994
    Member

    That's strange. Do you have any special settings enabled? JIT? 3rd party extensions? We'll need some more information, this will be impossible to understand otherwise, as it sounds like memory corruption. You could try compiling PHP with the ./configure --enable-address-sanitizer flag, or running it with Valgrind.

  2. RV7PR commented on Jan 29, 2025

    @RV7PR
    ContributorAuthor

    Yes JIT is enabled and no we dont use 3rd party extensions.
    I have included the output of phpinfo.

    phpinfo.html.zip

  3. iluuu1994 commented on Jan 29, 2025

    @iluuu1994
    Member

    @RV7PR Does your problem go away when disabling JIT?

  4. RV7PR commented on Jan 29, 2025

    @RV7PR
    ContributorAuthor

    I can't reproduce this issue as this happens at random projects after updating and just 1 time. so i could disable JIT but it is still not clear if JIT is the culprit

  5. iluuu1994 commented on Jan 29, 2025

    @iluuu1994
    Member

    If you have random things happening, it's almost certainly due to the JIT.

  6. 35 remaining items

  7. RV7PR commented on Oct 7, 2026

    @RV7PR
    ContributorAuthor

    @ndossche Can you review #23571?

  8. ndossche commented on Oct 7, 2026

    @ndossche
    Member

    thanks, I'm having a look

  9. added 4 commits that reference this issue on Oct 7, 2026
    7050d57
    c2e9c09
    1228a4c
    60702fa
  10. kitrio commented on Oct 8, 2026

    @kitrio

    Is this issue related to this matter?

    #23346

  11. added a commit that references this issue on Oct 9, 2026
    9d71e07
  12. ndossche commented on Oct 9, 2026

    @ndossche
    Member

    20. Is this issue related to this matter?
    #23346

    That's possible, it has similarities to this issue, but I can't be sure without more input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions