Problem/Motivation

Getting this error on the latest 7.x commit with PHP 8.4:

PHP Deprecated: Drupal\elasticsearch_connector\Plugin\search_api\backend\SearchApiElasticsearchBackend::deleteItems(): Implicitly marking parameter $index as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/bonjourquebec/web/modules/contrib/elasticsearch_connector/src/Plugin/search_api/backend/SearchApiElasticsearchBackend.php on line 534

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

alberto56 created an issue. See original summary.

alberto56’s picture

Status: Active » Needs review
StatusFileSize
new646 bytes

Here is a patch for review

mparker17 made their first commit to this issue’s fork.

mparker17’s picture

Status: Needs review » Closed (duplicate)
Parent issue: » #3346008: Coding Standards Updates

Hi @alberto56, thank you for the contribution!

Actually, this got resolved in #3346008: Coding Standards Updates — but I didn't notice until I went to rebase the patch.

I'm going to mark this issue as a duplciate of #3346008, which was released in elasticsearch_connector-8.x-7.0-alpha6.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.