issue running update.php due to Drupalchat

Created on 17 January 2018, over 6 years ago
Updated 19 May 2023, about 1 year ago

When ever I go to run update.php I receive this error.

Drupal database update
The update process was aborted prematurely while running update #8000 in drupalchat.module. All errors have been logged. You may need to check the watchdog database table manually.

Here is the actual log message

"ArgumentCountError: Too few arguments to function db_add_index(), 3 passed in /home/MYSITE/public_html/modules/drupalchat/drupalchat.install on line 133 and exactly 4 expected in db_add_index() (line 929 of /home/MYSITE/public_html/core/includes/database.inc) #0 /home/MYSITE/public_html/modules/drupalchat/drupalchat.install(133): db_add_index('drupalchat_msg', 'uid1', Array) #1 /home/MYSITE/public_html/core/includes/update.inc(178): drupalchat_update_8000(Array) #2 /home/MYSITE/public_html/core/includes/batch.inc(294): update_do_one('drupalchat', 8000, Array, Array) #3 /home/MYSITE/public_html/core/includes/batch.inc(137): _batch_process() #4 /home/MYSITE/public_html/core/includes/batch.inc(93): _batch_do() #5 /home/MYSITE/public_html/core/modules/system/src/Controller/DbUpdateController.php(186): _batch_page(Object(Symfony\Component\HttpFoundation\Request)) #6 [internal function]: Drupal\system\Controller\DbUpdateController->handle('start', Object(Symfony\Component\HttpFoundation\Request)) #7 /home/MYSITE/public_html/core/lib/Drupal/Core/Update/UpdateKernel.php(110): call_user_func_array(Array, Array) #8 /home/MYSITE/public_html/core/lib/Drupal/Core/Update/UpdateKernel.php(73): Drupal\Core\Update\UpdateKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request)) #9 /home/MYSITE/public_html/update.php(28): Drupal\Core\Update\UpdateKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #10 {main}."

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

User interface

Created by

🇦🇺Australia Firehawk777

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.69.0 2024