I am getting this error after updating ctools and views 7.x-3.0-beta1 from 7.x-3.0-alpha1

User notice: 123 in _views_fetch_data() (line 25 of /sites/all/modules/views/includes/cache.inc).

Also some of my custom views are not being displayed

CommentFileSizeAuthor
#18 line-25.png82.59 KByoussefr

Comments

bojanz’s picture

Make sure you are using ctools-alpha4. Previous alphas had a bug that caused default views not to show up.
After updating, clear your cache twice.
As for the notice, that's minor.

dawehner’s picture

There is a debug call left. No idea why my sandbox got comitted

Sadly sadly sadly my laptop screen crashed yesterday evening

nikkubhai’s picture

I have already updated ctools to 7.x-1.0-alpha4.
I have also run the update script twice. And flushed the cache.

This error was seen even after database update .

didox’s picture

I have already updated ctools to 7.x-1.0-alpha4, too

After I cleared cache I get :

Notice: Undefined variable: entity_info in field_views_field_default_views_data()

and later only:

Debug:
123
in _views_fetch_data() (line 25 of xxxx/sites/all/modules/views/includes/cache.inc).

mswaltrop’s picture

I have the same problem, too

andyceo’s picture

yes, reporting the same:

Debug:
123
in _views_fetch_data() (line 25 of xxxx/sites/all/modules/views/includes/cache.inc).

poprocks’s picture

subscribe.

jaymiejones86’s picture

subscribe

sinav sonuclari’s picture

subscribe

tebb’s picture

Subscribing.

jodeygrist’s picture

subscribe

nortont’s picture

Likewise I have this issue

dawehner’s picture

Status: Active » Fixed

Removed this code.

vist’s picture

User notice:
123- _views_fetch_data() (eilutė 25 iš /var/www/html/sites/all/modules/views/includes/cache.inc).

Subscribe

l33tdawg’s picture

sub

vist’s picture

How do I solve this problem? To me and still does not work ...

emielbeinema’s picture

I have solved this problem by editing sites/all/modules/views/includes/cache.inc and adding /* on line 22 and */ on line 28
(before and after "$data = views_cache_get('views_data', TRUE); if (!empty($data->data)) { debug(123); $cache = $data->data; }").
I suppose you could also delete line 23 to 27, but I haven't tried that.

youssefr’s picture

StatusFileSize
new82.59 KB

Attached is a screenshot with the issue.
Thanks everyone.

mjohnq3’s picture

I get the same errors on a totally clean install ( and I mean a fresh Drupal 7 install, too).

youssefr’s picture

/*

------------ THIS IS WHAT I PUT IN COMMENT: /* xxxxx */ ACCORDING TO # 17

$data = views_cache_get('views_data', TRUE);
if (!empty($data->data)) {
debug(123);
$cache = $data->data;
}

*/

The message is gone ! for now....

vasike’s picture

subscribe

tomgf’s picture

Subscribe

bojanz’s picture

beta2 is now out, just upgrade.

lmontgomery’s picture

The suggestion provided by ttemiel in comment #17 above worked for me. Thanks so much!

nikkubhai’s picture

Priority: Major » Minor

Update to beta 2 version. The issue has been fixed.

didox’s picture

I got error in beta2

views.inc in 311 line is:

vpr('set_display() called with invalid display id @display.', array('@display' => $display_id)));

should be:

vpr('set_display() called with invalid display id @display.', array('@display' => $display_id));

now is working for me

bojanz’s picture

I just downloaded beta2 and it doesn't have the problem you describe. You probably didn't replace the old files correctly.

merlinofchaos’s picture

Even so, it's not the same error as in this issue.

adam_b’s picture

Skipping over #26-28:

I've deleted and replaced both the Ctools 7.x-1.0-alpha4 and Views 7.x-3.0-beta1 modules, run update.php, flushed the cache umpteen times, and I'm still getting this error at irregular intervals:

Notice: Undefined variable: entity_info in field_views_field_default_views_data() (line 167 of /[directory]/sites/all/modules/views/modules/field.views.inc).
Notice: Undefined variable: entity_info in field_views_field_default_views_data() (line 168 of /[directory]/sites/all/modules/views/modules/field.views.inc).

I'm afraid I can't agree that this is fixed.

merlinofchaos’s picture

This issue is only fixed in the current -dev, not beta1 or beta2.

adam_b’s picture

Ah, thanks - I was confused by the wording in #25 and thought beta2 was supposed to have the fix.

adam_b’s picture

Updated to beta3 and after clearing the cache a couple or three times, it seems OK now, thanks.

gphilippe’s picture

Priority: Major » Minor
Status: Active » Fixed

I updated ctools to beta3 ( i was alpha 2) , and tried the last dev.
i updated views from alpha1 to beta3, and tried the last dev.
In all cases : i have thses msg :

Notice : Undefined variable: field dans ViewsUiBaseViewsWizard->default_display_options() (ligne 609 dans /var/www/drupal7new/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php).
Notice : Undefined variable: field dans ViewsUiBaseViewsWizard->default_display_options() (ligne 610 dans /var/www/drupal7new/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php).
Notice : Undefined variable: field dans ViewsUiBaseViewsWizard->default_display_options() (ligne 607 dans /var/www/drupal7new/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php).
Notice : Undefined index: table dans views_plugin_display->get_plugin() (ligne 710 dans /var/www/drupal7new/sites/all/modules/views/plugins/views_plugin_display.inc).
Notice : Undefined index: table dans views_plugin_display->get_plugin() (ligne 710 dans /var/www/drupal7new/sites/all/modules/views/plugins/views_plugin_display.inc).
Le style Unformatted list nécessite un style de ligne mais le plugin de ligne est invalide.
Le style Unformatted list nécessite un style de ligne mais le plugin de ligne est invalide.

Before these updated all worked fine and if i return all is good ...

Completely in english in another site :

Notice: Undefined variable: field in ViewsUiBaseViewsWizard->default_display_options() (line 609 of /var/www/drupal90/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php).
Notice: Undefined variable: field in ViewsUiBaseViewsWizard->default_display_options() (line 610 of /var/www/drupal90/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php).
Notice: Undefined variable: field in ViewsUiBaseViewsWizard->default_display_options() (line 607 of /var/www/drupal90/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php).
Notice: Undefined index: table in views_plugin_display->get_plugin() (line 710 of /var/www/drupal90/sites/all/modules/views/plugins/views_plugin_display.inc).
Notice: Undefined index: table in views_plugin_display->get_plugin() (line 710 of /var/www/drupal90/sites/all/modules/views/plugins/views_plugin_display.inc).
Style Grid requires a row style but the row plugin is invalid.
Style Grid requires a row style but the row plugin is invalid.

gphilippe’s picture

Version: 7.x-3.0-beta1 » 7.x-3.0-beta3
Priority: Minor » Major
Status: Fixed » Active
dawehner’s picture

This doesn't seem to be the same issue.

update status. Anyway #1105348: Bunch of errors in views after upgrading Chaos Tools is a duplicate.
We don't see the error so we can't really do something at the moment, so please help us!

merlinofchaos’s picture

The report you're providing in #33 is completely unlike anything in this issue. Please don't hijack issues.

gphilippe’s picture

Sorry if i'm disturbing anything, it was not my will; i didn't know where to post this to solve the problem.

Status: Fixed » Closed (fixed)

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