I am testing this module on my site with Domain Access module installed. Domain theme that assigns themes to different domain stop working after enabling microdata, and all the domains are using one default theme instead. Domain theme module has extra function to adjust its weight to be executed first but changing the weight to -100 (to execute first before others) still not working. Domain theme cannot assign individual themes to each domains any more.

Comments

Anonymous’s picture

It is extremely unlikely that this would be caused by microdata module.

Please ensure that this is definitely microdata module by:

  1. downloading Microdata 7.x-dev
  2. downloading the latest dev release of the other module
  3. turning off and on microdata module (only microdata module, don't turn off entity) and flushing your caches each time
jinhcc’s picture

I uninstalled my previous version and lost all the related data to reinstall the dev. using the latest dev 7.x-1.0-alpha5+20-dev instead of 7.x-1.0-alpha5 seems to solve the theme issue. Thanks for your quick response. but i get bunch of codes like below:
Notice: Undefined index: itemprop in microdata_field_attach_view_alter()
Notice: Trying to get property of non-object in microdata_field_attach_view_alter()
Notice: Undefined index: type in microdata_get_value_type()
Notice: Undefined index: entity keys in entity_extract_ids()

Perhaps it is because of data loss after uninstalling the module?

Anonymous’s picture

Those notices should have line numbers. Please post them here.

jinhcc’s picture

Sorry. the error code is as follows:

Notice: Undefined index: itemprop in microdata_field_attach_view_alter() (line 341 of /home/username/public_html/drupal/sites/all/modules/microdata/microdata.module).
Notice: Undefined index: #object in microdata_field_attach_view_alter() (line 317 of /home/username/public_html/drupal/sites/all/modules/microdata/microdata.module).
Notice: Undefined index: #entity_type in microdata_field_attach_view_alter() (line 318 of /home/username/public_html/drupal/sites/all/modules/microdata/microdata.module).
Notice: Trying to get property of non-object in microdata_field_attach_view_alter() (line 320 of /home/username/public_html/drupal/sites/all/modules/microdata/microdata.module).
Notice: Undefined index: type in microdata_get_value_type() (line 753 of /home/username/public_html/drupal/sites/all/modules/microdata/microdata.module).
Notice: Trying to get property of non-object in microdata_field_attach_view_alter() (line 381 of /home/username/public_html/drupal/sites/all/modules/microdata/microdata.module).
Notice: Undefined index: entity keys in entity_extract_ids() (line 7533 of /home/username/public_html/drupal/includes/common.inc).
Notice: Undefined index: entity keys in entity_extract_ids() (line 7534 of /home/username/public_html/drupal/includes/common.inc).

Anonymous’s picture

What field types do you have on this page? I am specifically interested in whether you have any reference fields (Entity Reference, User Reference, etc), but would be interested in other field types as well.

jinhcc’s picture

Status: Active » Fixed

Yes, i got entity reference enabled. i use other field like 5 star and date too. but this error codes seems to pop up everywhere since i uninstall and reinstall the module. maybe it is due to module data loss that i need to set things up again.
Since the original issue is solved, im setting the status as fixed. thanks for the help. ^^

Status: Fixed » Closed (fixed)

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