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.

CommentFileSizeAuthor
#3 itpro_patch.patch1.11 KBitprokazan
views_send.patch1.08 KBarodier74
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hansfn’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry 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 ;-)

arodier74’s picture

Ok, I am going to submit the patch to the views team.

itprokazan’s picture

FileSize
1.11 KB

Hello! Slightly improved lined above patch

hansfn’s picture

Project: Views Send » Views (for Drupal 7)
Version: 7.x-1.1 » 7.x-3.10
Status: Postponed (maintainer needs more info) » Active

OK, the updated patch is still for Views, not Views Send, so I'm sending the issue over there ...

nithinkolekar’s picture

Version: 7.x-3.10 » 7.x-3.11
Priority: Normal » Major

This 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).

eneko1907’s picture

I 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