Trying to update from 8.3.7 to 8.4.4 and get the following error.
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /update.php/start?id=5927&op=do_nojs&op=do
StatusText: parsererror
ResponseText: Recoverable fatal error: Argument 1 passed to Drupal\Core\Entity\EntityStorageBase::loadMultiple() must be of the type array, string given, called in /home//public_html/.com/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php on line 396 and defined in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 219 of /home//public_html/.com/core/lib/Drupal/Core/Entity/EntityStorageBase.php).
The update process was aborted prematurely while running update # in views_post_update_revision_metadata_fields.module. All errors have been logged.
Only 1 PENDING UPDATE Left - Fix table names for revision metadata fields.
Any help is greatly appreciated.
Comments
Comment #2
cilefen CreditAttribution: cilefen as a volunteer commented“All errors have been logged”
Is there anything more in the logs? The calling code is in the taxonomy module. If you are able to debug, focus on that views filter.
Comment #3
cilefen CreditAttribution: cilefen as a volunteer commentedComment #4
cilefen CreditAttribution: cilefen as a volunteer commentedI found and related #2407853: TaxonomyIndexTid Views plugin stores selected terms with the ID instead of UUID.
Comment #5
cilefen CreditAttribution: cilefen as a volunteer commentedComment #6
tepelena CreditAttribution: tepelena commentedThanks for your help. I am relatively new to Drupal and also this site so I apologize if I opened a duplicate ticket. Wasn't sure where was the appropriate place to report this.
Still, have the problem. So far haven't had to apply any patches so this would be the first. Ideally, I would love to fix the view with the problem. But only if I could figure out which view it was. Have deleted some old views that we don't use but still the problem remains.
Comment #7
cilefen CreditAttribution: cilefen as a volunteer commentedThis patch is definitely wrong—do not use it. As far as I know the value passed should already be an array. Have you got a view with a taxonomy term filter?
Comment #8
cilefen CreditAttribution: cilefen as a volunteer commentedComment #9
cilefen CreditAttribution: cilefen as a volunteer commentedThere is a view on that site with a taxonomy term filter—it's the one labeled "Has taxonomy term". Somehow its "Select terms from vocabulary Tags" is saved as a string rather than a list of taxonomy term IDs. Check the filter settings when you find it.
Comment #10
cilefen CreditAttribution: cilefen as a volunteer commentedIncidentally, I opened #2935012: DbUpdateController abort message does not work for post updates.
Comment #11
cilefen CreditAttribution: cilefen as a volunteer commentedAlso it may help you to know that all this views update function is doing is opening and re-saving every view.
Comment #12
tepelena CreditAttribution: tepelena as a volunteer commentedThanks for the tips. I will take a look at our views in the next few days and let you know if I have any luck.
Thank you.
Comment #13
tepelena CreditAttribution: tepelena as a volunteer commentedUPDATE
Just figured out which view was causing the problem. As Cilefen stated it was one view with Taxonomy Term Filter labeled "Has taxonomy term"
Disabled the view. Tried update.php and all went well.
Activated the view again and everything seems to be working fine.
Thank you for your help.
Comment #17
ultrabob CreditAttribution: ultrabob commentedComment #18
cilefen CreditAttribution: cilefen as a volunteer commented@ultrabob Can you explain please?
Comment #19
ultrabob CreditAttribution: ultrabob commentedSorry if I misread this. I came across it trying to find an answer for another issue and saw the last comment being from a year ago with the op saying that they found and solved their issue. If there is still an issue there please reopen. Sorry for the trouble.
Comment #20
cilefen CreditAttribution: cilefen as a volunteer commentedOh, true.
Comment #22
xjm