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.
After updating from 7.x-1.4 to 7.x-1.5 I get this error message.
Comment | File | Size | Author |
---|---|---|---|
#8 | 1799832-dv-undefined-index.patch | 853 bytes | agentrickard |
#6 | 1799832-dv-undefined-index.patch | 855 bytes | agentrickard |
#5 | tietoiskut_export.txt | 9.57 KB | ZeiP |
Comments
Comment #1
agentrickardPlease provide more detail.
Comment #2
4kant CreditAttribution: 4kant commentedSorry for the delay.
what is missing in the error-message I wrote is
"... line 396 of .../sites/all/modules/domain_views/domain_views.views.inc" and
"... line 397 of .../sites/all/modules/domain_views/domain_views.views.inc"
i had to comment those two lines out because I could not find "machine_name" in the database´s domain table.
But wait: I just found out that obviously I have to update domain module from 7.x-2 to 7.x-3 because of "new fields in 7.x-3" (line 117 in domain_views.views.inc).
Hope that will do it.
Comment #3
agentrickardWe should still support 7.x.2, actually. I wasn't aware that the substitutions fire when they are not used.
What were you doing when this happened? Can you export and attach the view?
Comment #4
agentrickardI cannot replicate the error.
Comment #5
ZeiP CreditAttribution: ZeiP commentedI'm getting this error just by viewing a page that has a Views block (export attached):
I'm using Domain Access 7.x-2.18. Let me know if you require any additional information.
Comment #6
agentrickardAnd a patch.
Comment #7
maxiorelPatch #6 has a syntax error. There shouldn't be a => at the end, I think, but
$return['***CURRENT_DOMAIN_MACHINE_NAME***'] = $domain['machine_name'];
$return['***PRIMARY_DOMAIN_MACHINE_NAME***'] = $default['machine_name'];
Comment #8
agentrickardyeah. more copy/paste fun.
Comment #9
agentrickardCommitted. Thanks.