unlcms / project-herbie

Drupal 10 implementation at the University of Nebraska–Lincoln
https://cms.unl.edu
GNU General Public License v2.0
6 stars 7 forks source link

Deprecated function: strnatcasecmp(): Passing null to parameter #868

Closed sarongebre closed 6 days ago

sarongebre commented 1 week ago

Message - Deprecated function: strnatcasecmp(): Passing null to parameter #1 ($string1) of type string is deprecated in Drupal\Core\Block\BlockManager->Drupal\Core\Plugin{closure}() (line 97 of /var/www/project-

So far happening on IANR and NAMEP sites.

Drupal core patch:

https://www.drupal.org/project/drupal/issues/3315678

https://www.drupal.org/project/drupal/issues/3392572

Issue happens when a custom block is created without a block description value. Block description is disabled for contact blocks. That needs to be allowed. Every time a block is created without a block description, the warning message appears.