Drupal 7.94 AND php8

Created on 20 January 2023, almost 2 years ago
Updated 11 February 2023, almost 2 years ago

/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

πŸ› Bug report
Status

Postponed: needs info

Version

7.0 ⚰️

Component
FormΒ  β†’

Last updated 2 days ago

Created by

πŸ‡©πŸ‡ͺGermany BLausch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Postponed: needs info almost 2 years ago
  • πŸ‡ΈπŸ‡°Slovakia poker10

    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!

  • πŸ‡©πŸ‡ͺGermany BLausch

    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...

Production build 0.71.5 2024