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 have this error when using views_send to send bulk emails.
Notice: Undefined property: stdClass::$_field_data in views_handler_field_field->get_value() (line 720 of /var/www/irps/htdocs/sites/all/modules/views/modules/field/views_handler_field_field.inc).
I think the patch should be OK, at least, it's now working.
Comment | File | Size | Author |
---|---|---|---|
#3 | itpro_patch.patch | 1.11 KB | itprokazan |
Comments
Comment #1
hansfn CreditAttribution: hansfn commentedSorry about the late reply.
The patch you are proposing is for Views, not Views Send. It might be correct, that it is an actual bug in Views, but I think it's more likely that I have made a mistake in Views Send. (The Views developers are much better Drupal developers than me.)
Before we reclassify this bug under the Views project, I suggest that you create a minimal example view, export it and attach it here so I can try to reproduce it - and maybe even fix it ;-)
Comment #2
arodier74 CreditAttribution: arodier74 commentedOk, I am going to submit the patch to the views team.
Comment #3
itprokazan CreditAttribution: itprokazan commentedHello! Slightly improved lined above patch
Comment #4
hansfn CreditAttribution: hansfn commentedOK, the updated patch is still for Views, not Views Send, so I'm sending the issue over there ...
Comment #5
nithinkolekar CreditAttribution: nithinkolekar commentedThis fixes the the issues I was facing when exposed filter field is added from the back referenced entityreference entity (Relationship : A bridge to the Content entity that is referencing Content via field_name).
Issue is still present in views 7.x-3.11 and patch seems worked for me. Status set to major because it is breaking the existing views.
Because it is ported from views send just want to share views specific observations
in view preview
No valid values found on filter: Content: < field name >.
in dblog
Notice: Undefined property: stdClass::$_field_data in views_handler_field_field->get_value() (line 720 of /path_to_site/sites/all/modules/views/modules/field/views_handler_field_field.inc).
Comment #6
eneko1907 CreditAttribution: eneko1907 commentedI observed the same critical error (Undefined property: stdClass::$_field_data .. line 720 of views/modules/field/views_handler_field_field.inc)
my view is like this:
-block display only
-Context Filter: gets argument by context (content ID in URL)
-Relationship : ( A bridge to the Content entity that is referencED Content via field... )
-Fields: title and geo-field instance, using named relationship)
-Format: leaflet map
Patch above removes the 'critical' error (WOSD gone), seems to render OK.
THANKS itprokazan, hansfn
Inigo