Closed (fixed)
Project:
Entity reference
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jul 2013 at 14:06 UTC
Updated:
14 Apr 2023 at 16:48 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
JamesAn commentedI can confirm this bug as well as that one-liner fix against version 7.x-1.1. Here's that the proposed fix rolled into a patch against the 7.x-1.x branch.
Comment #2
loopduplicate commentedI got this error when my view used a contextual filter for "Content: Language" and set the "WHEN THE FILTER VALUE IS NOT AVAILABLE" field to "Display contents of 'No results found"'". I switched this to "Hide view" and the php notice went away.
Regards,
loopduplicate
Comment #3
twodI don't know if it's always safe to use an empty value for the property when there are no results, but this patch does seem to work.
Comment #4
sano commentedThe patch worked for me. Thanks.
Entity reference 7.x-1.5
Comment #5
FireHawkX commentedThis also fixed the notice error for me on latest dev version! :)
Thanks!
Comment #6
mustanggb commentedYup, still working here too.
Comment #8
minoroffense commentedThanks!
Comment #10
joseph.olstadhttps://www.drupal.org/project/entityreference/releases/7.x-1.6-rc2
Comment #11
joseph.olstadhttps://www.drupal.org/project/entityreference/releases/7.x-1.7
Comment #12
joseph.olstadplease try the latest release
https://www.drupal.org/project/entityreference/releases/7.x-1.9