I am getting this Error after the latest Update

Comments

GalainHH’s picture

Here is the full Error Message: (I replaced the real domain Name by "")

* Notice: Undefined variable: entity_info in field_views_field_default_views_data() (Zeile 167 von /is/htdocs/wp10586614_ZBYTEB45N0/www//sites/all/modules/views/modules/field.views.inc).
* Notice: Undefined variable: entity_info in field_views_field_default_views_data() (Zeile 168 von /is/htdocs/wp10586614_ZBYTEB45N0/www//sites/all/modules/views/modules/field.views.inc).

GalainHH’s picture

Additionally I can´t access my Views Pages anymore:

Fatal error: Call to a member function get_option() on a non-object in /is/htdocs/wp10586614_ZBYTEB45N0/www//sites/all/modules/page_title/modules/views.page_title.inc on line 47

bojanz’s picture

Status: Active » Fixed

1. Update to beta3. It will fix the entity_info notices.
2 The fact that the page_title module is broken is of no concern to views. Disable it.

GalainHH’s picture

Version: 7.x-3.0-beta1 » 7.x-3.0-beta3
Priority: Normal » Critical
Status: Fixed » Active

I just updated to beta 3

and still ALL Views don´t show content anymore. Instead I got a blank page

"Fatal error: Call to a member function get_option() on a non-object in /is/htdocs/wp10586614_ZBYTEB45N0/www/macnetic-software.de/sites/all/modules/page_title/modules/views.page_title.inc on line 47"

May it be, that this is no issue with the views module, but with page Title?

bojanz’s picture

Status: Active » Fixed

YES!

GalainHH’s picture

Wow, you´re real fast..an you´re right

I disabled the Page Title Module an the Views pages work

Thanks

jmbouvier’s picture

I'm still getting the error at the top of my view page when I change the settings on my view, which is working how I want it:

"Notice: Undefined variable: entity_info in field_views_field_default_views_data() (line 177 of /home/...../sites/all/modules/views/modules/field.views.inc)."

I had Page Title installed but I uninstalled it and deleted it from my ftp.

JBoo

PS - Hope this is what to do, I'm new to submitting issues

oznate’s picture

It may be fixed in beta 3 but I'm still getting the same error message as #7.

pthite’s picture

Me too. I get the same "Notice: Undefined variable: entity_info" error message at the top of my view page. It seems to happen when I clear my caches and it goes away as soon as I refresh the page. I don't have page title installed.

oznate’s picture

I may have misunderstood though - it APPLIES to Beta 3 and is marked fixed in Dev and will be fixed in the version released next cycle. I don't feel like trying out the Dev version to see so will wait for next release and follow up from there.

mgifford’s picture

Yup. Nixed Page Title and it worked just fine. I'll post a link here from Page Title.

ezra-g’s picture

The issue for this in page_title (with patch) is http://drupal.org/node/1099792 for those who are interested.

zilverdistel’s picture

I'm using the dev version and indeed, after clearing the cache with drush I get the following errors:

* Notice: Undefined variable: entity_info in field_views_field_default_views_data() (line 177 of /var/www/sites/all/modules/views/modules/field.views.inc).
* Notice: Undefined variable: entity_info in field_views_field_default_views_data() (line 178 of /var/www/sites/all/modules/views/modules/field.views.inc).

The error pops up on the view pages path as well as in the views ui (admin/structure/views).

When I alter and save a view, I also get this pair of notices.

zilverdistel’s picture

Version: 7.x-3.0-beta3 » 7.x-3.x-dev
Priority: Critical » Major
Status: Fixed » Needs work
merlinofchaos’s picture

Status: Needs work » Fixed

You can't be using that recent of a -dev. There's nothing anything resembling $entity_info at line 177 of that file. Please be sure you've got the code you think you've got.

Also, 'needs work' for patches that have already been committed is not a valid status. But really, I'm fairly confident the problem is that you don't have a recent -dev. Like, less recent than -beta3.

zilverdistel’s picture

Version: 7.x-3.x-dev » 7.x-3.0-beta3

Screw me! There seemed to be a problem with drush. It kept downloading the beta3 version when I specified I wanted the dev version.

Confirming this is indeed fixed in the dev version. Sorry for the confusion ...

Status: Fixed » Closed (fixed)

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