Problem/Motivation

I'm not able to create a new block on d11. I get a fatal error because of a lack of argument, 6 for 7 expected.

Steps to reproduce

Try to create a block on a fresh d11 + adv_varnish install.

Logs are attached to the issue. Does someone have a clue ?

I can provide more information if needed.
Thanks.

CommentFileSizeAuthor
Copie d'écran_20241128_141855.png77.26 KBreweb
#5 block.png49.14 KBshumer
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

reweb created an issue. See original summary.

reweb’s picture

Issue summary: View changes
shumer’s picture

Assigned: Unassigned » shumer

shumer’s picture

StatusFileSize
new49.14 KB

@reweb you can try the chenges from the MR that fixes the isuue for me
block

shumer’s picture

Status: Active » Needs review
reweb’s picture

Assigned: shumer » Unassigned
Status: Needs review » Active

@shumer what de you mean by mr ?

I can use any block provided by drupal but I get the error by creating a new one.

shumer’s picture

Merge Request - https://git.drupalcode.org/project/adv_varnish/-/merge_requests/22/diffs
I did an update to fix the issue there.

reweb’s picture

@shumer it's being working for me. Thanks

  • shumer committed 49543d76 on 4.x
    Issue #3490460: ArgumentCountError: Too few arguments to function Drupal...
shumer’s picture

Assigned: Unassigned » shumer
Status: Active » Fixed
shumer’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.