Update hook 8202 fails due to missing addIndex() params

Created on 23 April 2021, over 3 years ago
Updated 15 October 2021, about 3 years ago

Problem/Motivation

Update hook 8202 can't be executed due to missing parameters of the addIndex() method. One parameter is given while 4 are expected. The following error is displayed while running database updates:
Too few arguments to function Drupal\Core\Database\Driver\mysql\Schema::addIndex(), 1 passed in web/modules/contrib/search_overrides/search_overrides.install on line 72 and exactly 4 expected

Steps to reproduce

Execute update hook 8202.

Proposed resolution

Fix the missing parameters of the addIndex() method. See https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Database%21Driver%21mysql%21Schema.php/function/Schema%3A%3AaddIndex/8.9.x

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium fernly

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024