Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm getting a couple of errors when attempting to run the database update script after upgrading to 6.x-2.2. I saw a similar bug posted for 7.x, but wasn't sure if it was identical and if the supplied patches were appropriate:
- Invalid argument supplied for foreach() in .../site/update.php on line 340.
- array_merge(): Argument #2 is not an array in .../site/update.php on line 173.
Comments
Comment #1
TheCrow CreditAttribution: TheCrow commentedi can't access to my pc but the error can be fixed adding a row in the update function like that (service_links.install):
Comment #2
Flu CreditAttribution: Flu commentedOkay, thanks.
Comment #3
TheCrow CreditAttribution: TheCrow commentedFixed in dev
Comment #4
TheCrow CreditAttribution: TheCrow commentedforgot the status
Comment #5
charlesjc CreditAttribution: charlesjc commentedThe installed version is Drupal 6.28.
If I should ask this elsewhere, please let me know where/how?
Comment #6
TheCrow CreditAttribution: TheCrow commentedUsing drupal 6 you may choice to unselect service links updates, they are not needed if you was using the branch 6.x-2.x already, otherwise apply the patch, i don't know when a new release will be available, maybe a 2.3-beta1 containing only the bug fixes could preceed the next 2.3.