[PHP 8.1] Weight notices @ trash contact folder
Overview
Weight notices @ trash contact folder
Reproduction steps
- Delete a contact in a non-permanent way
- Go to: https://dmaster.demo.civicrm.org/civicrm/contact/search/advanced (user/pass: demo demo)
- Select: "Search in Trash (deleted contacts)" (Important!!!)
- Hit "Search"
Current behaviour
Many weight notices:
Warning: Undefined array key "weight" in CRM_Core_Action::{closure}() (line 318 of /srv/buildkit/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/Action.php).
Warning: Undefined array key "weight" in CRM_Core_Action::{closure}() (line 318 of /srv/buildkit/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/Action.php).
Warning: Undefined array key "weight" in CRM_Core_Action::{closure}() (line 318 of /srv/buildkit/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/Action.php).
Warning: Undefined array key "weight" in CRM_Core_Action::{closure}() (line 318 of /srv/buildkit/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/Action.php).
Expected behaviour
No notices.
Environment information
- Browser: Firefox
- CiviCRM: 5.68.1 (guess also below and above)
- PHP: 8.1+
- CMS: Drupal10
- Database: WhateverDB
- Web Server: An amazing one even!
systopia reference: 23444