Notice: Undefined property: entityreference_plugin_display::$id_field_alias in entityreference_plugin_style->render()

Created on 16 July 2013, almost 11 years ago
Updated 14 April 2023, about 1 year ago

I'm getting a notice:

Undefined property: entityreference_plugin_display::$id_field_alias in entityreference_plugin_style->render() (line 50 of [...]/views/entityreference_plugin_style.inc).

When the view I attach to an invalid argument (which causes the query to not exectute and therefore entityreference_plugin_display::query() to not complete). Simple fix is to add

class entityreference_plugin_display extends views_plugin_display {

  public $id_field_alias;

To the top of the class.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom Angry Dan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024