/includes/form.inc
does not work properly with php8.
in line (around) 842 is the following code:

  $form = call_user_func_array(isset($callback) ? $callback : $form_id, $args);

for php8 it should be

$form = call_user_func_array(isset($callback) ? $callback : $form_id, array_values($args)); 

$args is the problem....

Greetings
Berthold

Comments

BLausch created an issue. See original summary.

poker10’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks for creating an issue here, @BLausch.

The bug report does not contain sufficient information to verify and check the problem. Please provide more information as required by the new issue template, or the message on the top of the page while creating an issue:

If you are reporting a bug, it needs to consist of three things:

- What are the steps required to reproduce the bug?
- What behavior were you expecting?
- What happened instead?

Thanks!

blausch’s picture

What are the steps required to reproduce the bug.....

if You make a ajax-request in a form the system will crash (500 Error)
I forget to mention that, Sorry...

Status: Postponed (maintainer needs more info) » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.