Hi

I get this:

Warning: array_keys() expects parameter 1 to be array, null given in drupal_schema_fields_sql() (line 7070 of /var/www/includes/common.inc).
Warning: array_keys() expects parameter 1 to be array, null given in drupal_schema_fields_sql() (line 7070 of /var/www/includes/common.inc).
Warning: array_keys() expects parameter 1 to be array, null given in drupal_schema_fields_sql() (line 7070 of /var/www/includes/common.inc).
Warning: array_keys() expects parameter 1 to be array, null given in drupal_schema_fields_sql() (line 7070 of /var/www/includes/common.inc).
Warning: Invalid argument supplied for foreach() in entity_metadata_convert_schema() (line 151 of /var/www/sites/all/modules/entity/entity.info.inc).
Warning: Invalid argument supplied for foreach() in entity_metadata_convert_schema() (line 151 of /var/www/sites/all/modules/entity/entity.info.inc).
Warning: Invalid argument supplied for foreach() in entity_metadata_convert_schema() (line 151 of /var/www/sites/all/modules/entity/entity.info.inc).
Warning: Invalid argument supplied for foreach() in entity_metadata_convert_schema() (line 151 of /var/www/sites/all/modules/entity/entity.info.inc).
Notice: Undefined index: label in entity_views_field_definition() (line 191 of /var/www/sites/all/modules/entity/views/entity.views.inc).
Notice: Undefined index: label in entity_views_field_definition() (line 191 of /var/www/sites/all/modules/entity/views/entity.views.inc).
Notice: Undefined index: label in entity_views_field_definition() (line 191 of /var/www/sites/all/modules/entity/views/entity.views.inc).
Notice: Undefined index: label in entity_views_field_definition() (line 191 of /var/www/sites/all/modules/entity/views/entity.views.inc).
Notice: Undefined index: label in entity_views_field_definition() (line 191 of /var/www/sites/all/modules/entity/views/entity.views.inc).
Notice: Undefined index: label in entity_views_field_definition() (line 191 of /var/www/sites/all/modules/entity/views/entity.views.inc).
Notice: Undefined index: label in entity_views_field_definition() (line 191 of /var/www/sites/all/modules/entity/views/entity.views.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 93 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 99 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 93 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 99 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 93 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 99 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 93 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 99 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 93 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 99 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 93 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 99 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 93 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 99 of /var/www/sites/all/modules/entity/entity_token.tokens.inc).
Warning: array_keys() expects parameter 1 to be array, null given in drupal_schema_fields_sql() (line 7070 of /var/www/includes/common.inc).
Warning: array_keys() expects parameter 1 to be array, null given in drupal_schema_fields_sql() (line 7070 of /var/www/includes/common.inc).
Warning: array_keys() expects parameter 1 to be array, null given in drupal_schema_fields_sql() (line 7070 of /var/www/includes/common.inc).
Warning: array_keys() expects parameter 1 to be array, null given in drupal_schema_fields_sql() (line 7070 of /var/www/includes/common.inc).

when I enable this module. When I disable the module, it goes away. Memcached is showing as ok in the status report. I also get this in the status report, which doesn't appear until this module is enabled:

Warning
Tokens	Problems detected
The following tokens or token types are missing required name and/or description information:

$info['tokens']['my_entity1']['uid']
$info['tokens']['my_entity1']['changed']
$info['tokens']['my_entity1']['created']
$info['tokens']['my_entity2']['created']
$info['tokens']['my_entity2']['uid']
$info['tokens']['my_entity3']['uid']
$info['tokens']['my_entity3']['created']

These are all ECK entities. Are these entities supported?

Thanks,
Paul.

Comments

techypaul’s picture

Just FYI, this appears to happen even if the module is disabled, it happens simply if I put this in the settings:

$conf['cache_backends'][] = 'sites/all/modules/memcache_storage/memcache_storage.inc';
$conf['cache_default_class'] = 'MemcacheStorage';
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
$conf['cache_class_cache_update'] = 'DrupalDatabaseCache';

Thanks,
Paul.

Spleshka’s picture

Basically, Memcache Storage has nothing incommon with eck or any token modules. I think that problem in your installation that somewhy affects Memcache Storage.

techypaul’s picture

Status: Active » Closed (cannot reproduce)

Ok, I'll investigate and reopen as required.

Thanks,
Paul.

techypaul’s picture

Title: Error messages on enabling » Error messages on enabling memcache/memcache_storage
Project: Memcache Storage » Entity Construction Kit (ECK)
Version: 7.x-1.4 » 7.x-2.0-rc3
Status: Closed (cannot reproduce) » Active

Hmm, I think this is an issue with ECK module, so swinging it over to them. I found the issue to be when ECK is enabled and I then enabled memcache (or memcache_storage), all these issues appear. If I disable ECK module, then install memcache and then re-enable ECK, I get no errors.

I am using Entity Cache and ECK - Entity Cache, but that didn't seem to have an affect - only the ECK main module did.

Not sure why this is, but it's fixed it for me.

Thanks,
Paul

fmizzell’s picture

@techypaul, yes, this issue is related to this one #2265501: After upgrade from 2.0-rc2 to 2.0-rc3, clearing caches throws warnings and causes WSOD which I am working on right now. Hopefully we can kill 2 birds with one stone.

fmizzell’s picture

7.x-2.x-dev has a possible fix to the caching issue. Would love to hear wether that fix helps with this issue at all.

fmizzell’s picture

Version: 7.x-2.0-rc3 » 7.x-2.x-dev

I think this is related to #2289241: Warning: array_keys() expects parameter 1 to be array, null given in drupal_schema_fields_sql() also, so tagging to be a problem in the dev version also.

fmizzell’s picture

Priority: Normal » Minor

Will have to test whether this issues has been fixed, but no bandwidth right now.