I just upgraded my site to beta3 and now I'm getting an error whenever I empty my cache or install a new module:

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

The weird thing is it doesn't seem to affect my site at all once it's cached

Comments

PMorris’s picture

I don't have the page title module installed either. Sorry I probably should of posted under this thread:

http://drupal.org/node/1107752

bojanz’s picture

Status: Active » Fixed

Fixed in git (the -dev version should be generated soon)

rmwolinski’s picture

I have the same problem but I never installed Page Title.
I saved my View in Views and I get the error:

Notice: Undefined variable: entity_info w field_views_field_default_views_data() (linia 177 z ../sites/all/modules/views/modules/field.views.inc).
Notice: Undefined variable: entity_info w field_views_field_default_views_data() (linia 178 z ../sites/all/modules/views/modules/field.views.inc).

Geijutsuka’s picture

I'm getting the same errors as rmwolinski.

Archie Bunker’s picture

Same error here too.

zolee’s picture

subscribing

andrebonfanti’s picture

subscribe

stevenovy’s picture

another subscribe

pjcdawkins’s picture

subscribe

bojanz’s picture

This has been fixed in -dev and the issue is closed. What are you subscribing to?

gmopinillosv’s picture

Fixed in -dev ??

Where, how, When ?? Could you deliberate please??

Thank you

dawehner’s picture

When: Since the day of the beta3.
How: Remove the line, but you should upgrade to dev!
Where: in git.

If you need a download link goto http://drupal.org/project/views

particlegirl’s picture

Ok, this is a reeeall noob question.. but if I want to update my views to -dev - i must first uninstall my current views (beta3), and to do that i need to uninstall 'catalog' from ubercart. but when I install the new views how do i then reinstall catalog? Or do I need to uninstall all of ubercart and then reinstall.. pls say no...

is this just me or is it a very complicated way of updating something? I tried automatic updates but it like beta3 as the most current.

thanks in advance for any advice!

bojanz’s picture

Just kill the views directory, put the new one (-dev) in it's place, and clear cache.
Maybe it's not the most proper way to do it, but it requires no uninstallation.

particlegirl’s picture

ok, that simple! thanks

zilverdistel’s picture

Version: 7.x-3.0-beta3 » 7.x-3.x-dev
Status: Fixed » Closed (duplicate)

Marking this as a duplicate of http://drupal.org/node/1107752. And this really isn't fixed in dev. See my comment in the issue I'm pointing at. When I clear the cache or save a view, the notices still pop up.

-- EDIT --

This is indeed fixed in the dev version. Drush didn't download the dev version which I specificially asked for. It kept downloading the beta3 version.

Gaperville’s picture

Status: Closed (duplicate) » Active

i get the same error as I have been using the views 7.x-3.0-beta3 all along on a fresh install with Uber.

http://drupal.org/node/1107716

Gaperville’s picture

Status: Active » Closed (fixed)

I missed the Development releases is the fix on route 66.

http://drupal.org/project/views

fjen’s picture

subscribe

federico.giunchi’s picture

subscribe

jofridr’s picture

subscribe

dale386’s picture

subscribe

candotri’s picture

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

I got this when I migrated a site from drupal 6 to drupal 7. I made it disappear when I installed the 'Comments' module in the drupal 7 installation.

I found that it was Comments causing the problem by putting this

if (!$entity_info) {
dsm($field,"This field has the problem...");
}

just about the call to entity info in this:

$data[$table][$column]['field'] = array(

7.x-3.0-beta3 that was about line 166 or so.

Hope that helps!

P44T’s picture

subscribe

mraichelson’s picture

subscribe

rnj786’s picture

subscribe still not fixed with latest dev version May 17th build.

fan3racer’s picture

Bojanz - or anyone else! Noob question!!! Please keep in mind that this is my first Drupal installation so I need you to be kind of specific. I'm working with version 7.x-3.0-beta3. I am also getting this error. How do I 'kill' the views directory so that I can install -dev?

KCarlile’s picture

subscribe

zilverdistel’s picture

@fan3racer: Remove the folder "views" from sites/all/modules (probably through ftp), upload the dev version and clear your cache. That should do it.

steinmb’s picture

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

Pls. stop changing version. This issue is fixed in the dev. version. Install and flush your caches.

Shubin’s picture

Silly question, but could do with an answer. So to Install the dev version do I need to manually delete the Beta 3.0 version using FTP? Then Extract the Dev version. Wouldn't this remove all of my settings and blocks/pages that I have created using Views?

steinmb’s picture

@Shubin, all your views are stored in the db. so you loose nothing. Remove the old views folder, extract the new package, run updatedb.php to make sure no db. updates are req. then flush all caches and your done.

Shubin’s picture

Thank you very much.

trothwell’s picture

Subscribing still appears to be an issue within the latest dev release.

Yuri’s picture

Subscribing. installed dev, flushed cache, error still appears

emergencyofstate’s picture

subscribing. ^ what he said.

logo007’s picture

removing old views with dev version worked for me..