common.inc error in newly downloaded Drupal 7.69 I just downloaded drupal 7.69 and tried to configure it.  It gives me a page full of the same error:


  Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /Applications/MAMP/htdocs/KSnew/includes/common.inc).


Here's the relevant part of the code in common.inc, with line numbers:

6648 function element_children(&amp;$elements, $sort = FALSE) {
6649   // Do not attempt to sort elements which have already been sorted.
6650   $sort = isset($elements['#sorted']) ? !$elements['#sorted'] : $sort;
6651 
6652   // Filter out properties from the element, leaving only children.
6653   $children = array();
6654   $sortable = FALSE;
6655   foreach ($elements as $key =&gt; $value) {
6656     if ($key === '' || $key[0] !== '#') {
6657       $children[$key] = $value;
6658       if (is_array($value) &amp;&amp; isset($value['#weight'])) {
6659         $sortable = TRUE;
6660       }
6661     }
6662   }


Is this a Drupal error??
I think it is PHP related.  According to the Drupal 7 php requirements PHP 7.4 is not fully supported.  If you are running on 7.4 perhaps try downgrading it to 7.3 and see if it makes a difference.

This is probably the relevant issue that you encountered.  Alternatively see if you can use the latest patch in there and post your findings so you can help move the issue forward.