There is some incompability with og and uuid modules, here is the log:

Fatal error: Class name must be a valid object or a string in /var/www/d7/includes/common.inc on line 7506

Call Stack:
    0.0011     389088   1. {main}() /usr/share/drush/drush.php:0
    0.0216    2183712   2. drush_main() /usr/share/drush/drush.php:41
    0.1844    6896976   3. drush_dispatch(array(23), ???) /usr/share/drush/drush.php:101
    0.1937    6897060   4. call_user_func_array(string(13), array(1)) /usr/share/drush/includes/command.inc:214
    0.1937    6897236   5. drush_command(string(19)) /usr/share/drush/includes/command.inc:0
    0.1952    6901304   6. _drush_invoke_args(string(12), array(1), string(4)) /usr/share/drush/includes/command.inc:806
    1.2643    7497756   7. call_user_func_array(string(23), array(1)) /usr/share/drush/includes/command.inc:134
    1.2643    7497932   8. drush_core_site_install(string(19)) /usr/share/drush/includes/command.inc:0
    1.2652    7512840   9. drush_core_site_install_version(string(19), array(0)) /usr/share/drush/commands/core/site_install.drush.inc:132
    1.2734    7889028  10. install_drupal(array(2)) /usr/share/drush/commands/core/drupal/site_install.inc:59
    3.0331   15009892  11. install_run_tasks(array(16)) /var/www/d7/includes/install.core.inc:79
    9.1802   20189292  12. install_run_task(array(5), array(16)) /var/www/d7/includes/install.core.inc:342
    9.5284   20519916  13. batch_process(string(52), string(67), ???) /var/www/d7/includes/install.core.inc:446
    9.5380   20723392  14. _batch_process() /var/www/d7/includes/form.inc:4345
   39.7849   44958696  15. call_user_func_array(string(21), array(3)) /var/www/d7/includes/batch.inc:284
   39.7849   44958716  16. _install_module_batch(string(2), string(14), array(4)) /var/www/d7/includes/batch.inc:0
   39.7849   44958904  17. module_enable(array(1), bool) /var/www/d7/includes/install.core.inc:1529
   40.1682   45274028  18. drupal_get_schema(null, bool) /var/www/d7/includes/module.inc:427
   40.1682   45274028  19. drupal_get_complete_schema(bool) /var/www/d7/includes/bootstrap.inc:2727
   40.2211   46168272  20. drupal_alter(string(6), array(87), ???, ???) /var/www/d7/includes/bootstrap.inc:2808
   40.2216   46170148  21. uuid_schema_alter(array(87), null, null) /var/www/d7/includes/module.inc:1004
   40.2303   46549008  22. drupal_alter(string(11), array(9), ???, ???) /var/www/d7/sites/all/modules/contrib/uuid/uuid.install:23
   40.2308   46551404  23. og_entity_info_alter(array(9), null, null) /var/www/d7/includes/module.inc:1004
   40.2308   46551404  24. og_membership_type_load(???) /var/www/d7/sites/all/modules/contrib/og/og.module:202
   40.2308   46551516  25. entity_load_multiple_by_name(string(18), bool, ???) /var/www/d7/sites/all/modules/contrib/og/og.module:927
   40.2308   46551632  26. entity_load(string(18), bool, array(0), ???) /var/www/d7/sites/all/modules/contrib/entity/entity.module:143
   40.2308   46551660  27. entity_get_controller(string(18)) /var/www/d7/includes/common.inc:7473

It happens with drush and installing a distribution with both modules with install.php.

Sorry I can't dig in, but I have no time.

Comments

skwashd’s picture

Which distro are you using? Can you provide a sample installation profile if it isn't public?

jherencia’s picture

It's a custom installation profile, versions used are:

  • OG - 7.x-1.1
  • UUID - 7.x-1.0-alpha2

But it happens too if you hace installed UUID and try to install OG.

The .info of my installation profile is:

name = My custom profile
description =My custom profile
core = 7.x

version = 0.1

; SYSTEM
dependencies[] = block
dependencies[] = dblog
dependencies[] = menu
dependencies[] = locale

; CCK
dependencies[] = field
dependencies[] = text
dependencies[] = number
dependencies[] = file
dependencies[] = image
dependencies[] = list
dependencies[] = options

; VIEWS
dependencies[] = views

; DEPLOY
dependencies[] = uuid
dependencies[] = features
dependencies[] = environment

; SYTEM
dependencies[] = ctools
dependencies[] = panels
dependencies[] = token

; ADMIN
dependencies[] = backup_migrate
dependencies[] = admin_menu
dependencies[] = admin_menu_toolbar
dependencies[] = node_page_admin
dependencies[] = ckeditor

; LOCALE
dependencies[] = transliteration
dependencies[] = i18n
dependencies[] = panels_title_i18n

; THEME
dependencies[] = role_theme_switcher
dependencies[] = panels_everywhere
dependencies[] = conditional_styles
dependencies[] = less

; OG
dependencies[] = entity 
dependencies[] = og

files[] = custom_profile.profile

lucor’s picture

The uuid-7.x-1.x-dev (2011-Oct-22) seems to fix this.

neochief’s picture

Status: Active » Fixed
jherencia’s picture

Thanks @neochief, I didn't have enough time to test this, sorry about that.

Status: Fixed » Closed (fixed)

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