*************** *** 28,38 **** 'weight' => -10, ); - // Display the currently active install profile, if the site - // is not running the default install profile. $profile = drupal_get_profile(); if ($profile != 'standard') { - $info = system_get_info('module', $profile); $requirements['install_profile'] = array( 'title' => $t('Install profile'), 'value' => $t('%profile_name (%profile-%version)', array( --- 28,47 ---- 'weight' => -10, ); + // Display the currently active install profile, if the site is not running + // the default install profile. $profile = drupal_get_profile(); if ($profile != 'standard') { + $modules = module_list(); + if (isset($modules[$profile])) { + $info = system_get_info('module', $profile); + } + else { + $info = array( + 'name' => 'Unknown', + 'version' => 'Unknown', + ); + } $requirements['install_profile'] = array( 'title' => $t('Install profile'), 'value' => $t('%profile_name (%profile-%version)', array(