Hello!

After upgrading to latest -dev version (2011-Jul-30) there appeared this error message:

Notice: Undefined property: views_handler_field_field::$display_handler in views_handler_field_field->field_language() (line 811 of /var/www/test2.sky37.com/public_html/sites/all/modules/views/modules/field/views_handler_field_field.inc).
Notice: Trying to get property of non-object in views_handler_field_field->field_language() (line 811 of /var/www/test2.sky37.com/public_html/sites/all/modules/views/modules/field/views_handler_field_field.inc).

This two warnings repeats 14 times in every views-generated page, whatever number of items are displayed there (from 1 to 100).

With previous -dev version of Views everything was fine. Drupal 7.7, latest Ctools -dev, cache cleared, nothing in error.log.

Comments

Countzero’s picture

Hi all. Same bug here with same setup : latest Views, Ctools and Core.

It happens on line 817 of modules/field/views_handler_field_field.inc.

I tried to disable all the views' language options I found as my site is monolingual, but the error persisted.

I just modified the function to return LANGUAGE_NONE and all is fine now but it's an ugly workaround.

I guess this bug is related to the movements happening around the Entity API.

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

Which version do you use?

Because $display_handler is definitive not part of this code in the current dev version?

Countzero’s picture

The timestamp in views.info says 1311986928.

renat’s picture

The same situation:
datestamp = "1311986928"

I deleted Views folder and reinstalled module from scratch to be absolutely sure there are no remnants from previously installed versions of Views. Nothing changed unfortunately.

dawehner’s picture

@countzero
Which is your exact error message?
In general it would help to understand how to reproduce the problem

dawehner’s picture

Status: Postponed (maintainer needs more info) » Fixed

I'm blind!

Commited a fix to 7.x-3.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.