In creating a new feature I found the following errors:
Notice: Undefined index: api in _ctools_features_get_info() (linea 277 di /var/www/clients/client1/web2/web/sites/all/modules/features/includes/features.ctools.inc).
Notice: Undefined index: current_version in _ctools_features_get_info() (linea 277 di /var/www/clients/client1/web2/web/sites/all/modules/features/includes/features.ctools.inc).
Notice: Undefined index: api in ctools_features_export() (linea 66 di /var/www/clients/client1/web2/web/sites/all/modules/features/includes/features.ctools.inc).
Notice: Undefined index: current_version in ctools_features_export() (linea 66 di /var/www/clients/client1/web2/web/sites/all/modules/features/includes/features.ctools.inc).
Notice: Undefined index: api in ctools_features_export() (linea 66 di /var/www/clients/client1/web2/web/sites/all/modules/features/includes/features.ctools.inc).
Notice: Undefined index: current_version in ctools_features_export() (linea 66 di /var/www/clients/client1/web2/web/sites/all/modules/features/includes/features.ctools.inc).

Comments

seanr’s picture

Version: 7.x-2.5 » 7.x-2.10

I just saw this occur simply by viewing a feature.

seanr’s picture

Here's the stack trace:

ErrorException: Undefined index: current_version
#7 /srv/bindings/a72bd603bb5a48719bc2e42e637d1c34/code/profiles/attn/modules/contrib/features/includes/features.ctools.inc(66): _raven_error_handler
#6 /srv/bindings/a72bd603bb5a48719bc2e42e637d1c34/code/profiles/attn/modules/contrib/features/includes/features.ctools.inc(66): ctools_features_export
#5 /srv/bindings/a72bd603bb5a48719bc2e42e637d1c34/code/profiles/attn/modules/contrib/features/features.export.inc(69): _features_populate
#4 /srv/bindings/a72bd603bb5a48719bc2e42e637d1c34/code/profiles/attn/modules/contrib/features/features.export.inc(15): features_populate
#3 /srv/bindings/a72bd603bb5a48719bc2e42e637d1c34/code/profiles/attn/modules/contrib/features/features.export.inc(410): features_detect_overrides
#2 /srv/bindings/a72bd603bb5a48719bc2e42e637d1c34/code/profiles/attn/modules/contrib/features/features.admin.inc(1394): features_feature_diff
#1 /srv/bindings/a72bd603bb5a48719bc2e42e637d1c34/code/includes/menu.inc(527): menu_execute_active_handler
#0 /srv/bindings/a72bd603bb5a48719bc2e42e637d1c34/code/index.php(21): {main}

Looks like it might be related to multifield:

component	
multifield::
data	
[
multifield::, 
strongarm:strongarm:1
]
export	
{
bootstrap: 0, 
conflicts: [], 
core: 7.x, 
dependencies: {
ctools: ctools
}, 
description: Edits page content type, 
features: [], 
features_exclude: [], 
files: [
[redacted]_page.test
], 
name: [redacted]: Page, 
package: [redacted], 
version: null
}
info	
{
default_file: 2, 
default_hook: multifield_default_multifield, 
feature_source: true, 
module: multifield, 
name: Multifield
}
module_name	
[redacted]_page
dshields’s picture

I'm also seeing this when using multifield.