Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Views Data
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2011 at 21:59 UTC
Updated:
29 Jan 2012 at 23:28 UTC
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
Comment #1
PMorris commentedI don't have the page title module installed either. Sorry I probably should of posted under this thread:
http://drupal.org/node/1107752
Comment #2
bojanz commentedFixed in git (the -dev version should be generated soon)
Comment #3
rmwolinski commentedI 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).
Comment #4
Geijutsuka commentedI'm getting the same errors as rmwolinski.
Comment #5
Archie Bunker commentedSame error here too.
Comment #6
zolee commentedsubscribing
Comment #7
andrebonfanti commentedsubscribe
Comment #8
stevenovy commentedanother subscribe
Comment #9
pjcdawkins commentedsubscribe
Comment #10
bojanz commentedThis has been fixed in -dev and the issue is closed. What are you subscribing to?
Comment #11
gmopinillosv commentedFixed in -dev ??
Where, how, When ?? Could you deliberate please??
Thank you
Comment #12
dawehnerWhen: 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
Comment #13
particlegirl commentedOk, 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!
Comment #14
bojanz commentedJust 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.
Comment #15
particlegirl commentedok, that simple! thanks
Comment #16
zilverdistel commentedMarking 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.
Comment #17
Gaperville commentedi 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
Comment #18
Gaperville commentedI missed the Development releases is the fix on route 66.
http://drupal.org/project/views
Comment #19
fjen commentedsubscribe
Comment #20
federico.giunchi commentedsubscribe
Comment #21
jofridr commentedsubscribe
Comment #22
dale386 commentedsubscribe
Comment #23
candotri commentedI 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!
Comment #24
P44T commentedsubscribe
Comment #25
mraichelson commentedsubscribe
Comment #26
rnj786 commentedsubscribe still not fixed with latest dev version May 17th build.
Comment #27
fan3racer commentedBojanz - 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?
Comment #28
KCarlile commentedsubscribe
Comment #29
zilverdistel commented@fan3racer: Remove the folder "views" from sites/all/modules (probably through ftp), upload the dev version and clear your cache. That should do it.
Comment #30
steinmb commentedPls. stop changing version. This issue is fixed in the dev. version. Install and flush your caches.
Comment #31
Shubin commentedSilly 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?
Comment #32
steinmb commented@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.
Comment #33
Shubin commentedThank you very much.
Comment #34
trothwell commentedSubscribing still appears to be an issue within the latest dev release.
Comment #35
Yuri commentedSubscribing. installed dev, flushed cache, error still appears
Comment #36
emergencyofstate commentedsubscribing. ^ what he said.
Comment #37
logo007 commentedremoving old views with dev version worked for me..