- Status changed to Closed: works as designed
about 2 years ago 9:09am 16 January 2023
Hi :)
Context: Currently we are updating our sites from PHP 7.4 to 8.1
The deprecation shows up but I don't know how exactly it's triggered.
Deprecated function: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in Drupal\language\LanguageNegotiator->getNegotiationMethods() (line 206 of core/modules/language/src/LanguageNegotiator.php).
Drupal\language\LanguageNegotiator->getNegotiationMethods('language_interface') (Line: 136)
Drupal\language\HttpKernel\PathProcessorLanguage->initProcessors('inbound') (Line: 92)
Currently unknown.
Fix the deprectation by using the info:
Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero
Fix the deprecation.
Closed: works as designed
9.5
The issue particularly affects sites running on PHP version 8.1.0 or later.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.