Hi there,

I am getting a few errors after upgrading Chaos Tools to the newest version.
I don't know whether this is a Chaos Tools or Views error.
Seeing the error's it looks a lot like a Views problem, that's why I posted this as a views error.

Notice: Undefined index: title in views_handler_field->option_definition() (regel 288 van /Users/ganganation/Sites/egs/sites/all/modules/views/handlers/views_handler_field.inc).
Notice: Undefined index: field_info in views_handler_field_field->option_definition() (regel 136 van /Users/ganganation/Sites/egs/sites/all/modules/views/modules/field/views_handler_field_field.inc).
Warning: array_keys() [function.array-keys]: The first argument should be an array in views_handler_field_field->option_definition() (regel 138 van /Users/ganganation/Sites/egs/sites/all/modules/views/modules/field/views_handler_field_field.inc).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in views_handler_field_field->option_definition() (regel 142 van /Users/ganganation/Sites/egs/sites/all/modules/views/modules/field/views_handler_field_field.inc).

In backend:

Notice: unserialize() [function.unserialize]: Error at offset 2 of 8 bytes in variable_initialize() (line 749 of /Users/ganganation/Sites/egs/includes/bootstrap.inc).
Notice: unserialize() [function.unserialize]: Error at offset 2 of 8 bytes in variable_initialize() (line 749 of /Users/ganganation/Sites/egs/includes/bootstrap.inc).
Notice: Undefined index: default_formatter in views_handler_field_field->option_definition() (regel 145 van /Users/ganganation/Sites/egs/sites/all/modules/views/modules/field/views_handler_field_field.inc).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in views_handler_field_field->option_definition() (regel 151 van /Users/ganganation/Sites/egs/sites/all/modules/views/modules/field/views_handler_field_field.inc).

If you need more detail, please let me know.
Thanks for you help!

Comments

Ganganation’s picture

The same error was found on this site http://radicalcrib.org/news/heading-2 (not mine)

bojanz’s picture

Status: Active » Fixed

1) Try clearing the cache.
2) Upgrade Views as well (Alpha2 will probably be released today, if using -dev bothers you), if #1 doesn't help (ctools and views are meant to be used in sync. Your Views version is very old, compared to your ctools version)

Ganganation’s picture

Thanks bojanz for your answer.
1. I cleared the cache, no result.
2. I agree on the possible sync problem. The dev. version gave other problems. I'll wait for the alpha 2 version.
Strange that other people using the alpha 1 version aren't experiencing the same problem.

I'll give an update after the alpha 2 version.

Thank you :D

tomate2010’s picture

I actually have the same pb :( And I'm using now only dev versions

merlinofchaos’s picture

If you're using the dev version, it can't be the same problem, since the code that the OP is getting errors in is changed a LOT and some things are > 50 lines away from where those errors say they are.

Ganganation’s picture

I think I've discovered the root of this problem (don't know for sure).
The upgrade to the views-7.x-3.0-beta1 went great. But the problem persists.

I forgot what other modules I had upgraded after besides the Chaos Tools. The other one was FullCalendar.
Only on the pages where I use the fullcalendar module the following errors appear:

Notice: Undefined index: revision table in field_views_field_default_views_data() (regel 172 van /Users/ganganation/Sites/egs/sites/all/modules/views/modules/field.views.inc).
Notice: Undefined index: additional fields in date_field_views_data_alter() (regel 252 van /Users/ganganation/Sites/egs/sites/all/modules/date/date_views/date_views.module).
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in date_field_views_data_alter() (regel 252 van /Users/ganganation/Sites/egs/sites/all/modules/date/date_views/date_views.module).
Notice: Undefined index: additional fields in date_field_views_data_alter() (regel 252 van /Users/ganganation/Sites/egs/sites/all/modules/date/date_views/date_views.module).
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in date_field_views_data_alter() (regel 252 van /Users/ganganation/Sites/egs/sites/all/modules/date/date_views/date_views.module).

- I use the 7.x-2.0-alpha3 version of FullCalendar.

This seems to be a FullCalendar problem?
What to do next? Should I drop this as an issue for FullCalendar?

Thanks for your help :D

Ganganation’s picture

I'm sorry just disabled FullCalendar, i meant the Calendar module: http://drupal.org/project/calendar
Don't remember whether this has been updated, or not.

Ganganation’s picture

Status: Fixed » Active

Not yet solved

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

The errors in http://drupal.org/node/1105348#comment-4262880 are fixed in the latest beta.

So please report back whether this if fixed for you now in the dev version.

strellman’s picture

esmerel’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

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