Problem/Motivation
Under PHP 8.1:
TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid
callback, non-static method Drupal\taxonomy_entity_index\BatchService::proc
essEntityTypeReindex() cannot be called statically in _drush_batch_worker()
(line 256 of /var/www/cms/docroot/vendor/drush/drush/includes/batch.inc).
This is a new thing in PHP 8. Surprised it hasn't been fixed already. Maybe I missed something :
Steps to reproduce
Run the rebuild Drush command.
Proposed resolution
Gonna try to just change these to static methods and see if that works. If that doesn't, there are a few valid approaches.
Remaining tasks
Do the thing, see if it works.
User interface changes
None.
API changes
Data model changes
Comments
Comment #2
natedouglas commentedComment #3
larowlanComment #5
larowlanThanks, I'll cut 8.x-1.10 shortly with this
Comment #6
larowlanhttps://www.drupal.org/project/taxonomy_entity_index/releases/8.x-1.10