- Merge request !11Issue #3328762: Type mixed not compatible with PHP 7.4 → (Closed) created by enchufe
- Status changed to Closed: won't fix
about 1 year ago 8:57am 21 May 2024
After update to latest version 3.3.1, I got an
Fatal error: Declaration of Drupal\phone_international\Element\PhoneInternationalElement::valueCallback(&$element, Drupal\phone_international\Element\mixed $input, Drupal\Core\Form\FormStateInterface $form_state): Drupal\phone_international\Element\mixed must be compatible with Drupal\Core\Render\Element\FormElement::valueCallback(&$element, $input, Drupal\Core\Form\FormStateInterface $form_state)
that is not compatible with PHP < 8.0
Remove the type of mixed without changing the PHP version.
3.3
Code
The issue particularly affects sites running on PHP version 7.4.0 or later.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.