Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
techypaul CreditAttribution: techypaul commentedJust FYI, this appears to happen even if the module is disabled, it happens simply if I put this in the settings:
Thanks,
Paul.
Comment #2
SpleshkaBasically, Memcache Storage has nothing incommon with eck or any token modules. I think that problem in your installation that somewhy affects Memcache Storage.
Comment #3
techypaul CreditAttribution: techypaul commentedOk, I'll investigate and reopen as required.
Thanks,
Paul.
Comment #4
techypaul CreditAttribution: techypaul commentedHmm, 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
Comment #5
fmizzell CreditAttribution: fmizzell commented@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.
Comment #6
fmizzell CreditAttribution: fmizzell commented7.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.
Comment #7
fmizzell CreditAttribution: fmizzell commentedI 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.
Comment #8
fmizzell CreditAttribution: fmizzell commentedWill have to test whether this issues has been fixed, but no bandwidth right now.