I'm getting this on all pages after installing and activating Fusion Core on a fresh D7 snapshot.

Notice: Undefined index: base theme in system_find_base_themes() (line 2587 of /var/www/drupal7/drupal-7.x-dev/modules/system/system.module).

Drupal 7.x dev snapshot as of Sept. 18
Fusion 7.x-0.x-dev as of Sept. 19

Comments

Melissamcewen’s picture

Same here but in 6X as well

shortcircuitcg’s picture

same here.

Error
Notice: Undefined index: base theme in system_find_base_themes() (line 2564 of (site specific path then...) /modules/system/system.module).

sociotech’s picture

Assigned: Unassigned » sociotech
Status: Active » Postponed (maintainer needs more info)

Do you have a subtheme of Fusion core enabled as the default, or do you have Fusion core itself as the default? Fusion core isn't meant to be a theme by itself. Regardless, I'll take a look at the error.

nirbhasa’s picture

Version: » 7.x-1.x-dev
Status: Postponed (maintainer needs more info) » Active

I can replicate this in 6.x, with a subtheme enabled as the default. The error seems to persist whether fusion_core is enabled or not

Sivaji’s picture

I have the same problem here but with orange theme. I suspect that it is because of the skinr module. The snippet that is likely to cause the problem is

skinr.module

function skinr_preprocess(&$vars, $hook) {
  ......
  // Add any base themes. 
  $themes = array_keys(system_find_base_themes(_system_theme_data(), $current_theme));
  // Add the current theme.
  $themes[] = $current_theme;
  ......

system.module

function system_find_base_themes($themes, $key, $used_keys = array()) {
  $base_key = $themes[$key]->info['base theme'];
  // Does the base theme exist?
  if (!isset($themes[$base_key])) {
    return array($base_key => NULL);
  }

Can we move this to skinr module issue queue ?

kinesus’s picture

problem solved!

juanjo_dv’s picture

#6 (Kinesus), How you solve it?

aquariumtap’s picture

Status: Active » Postponed (maintainer needs more info)

I've only been able to recreate this error if Fusion Core is set as the default theme, instead of one of its subthemes. Could you provide more information so I can replicate/debug the issue?

aquariumtap’s picture

Assigned: sociotech » aquariumtap
aquariumtap’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
realnerd’s picture

I tested and in my case (fusion 7.x-1.x-dev) installing a subtheme and setting it as default solved this problem. This is the case for both with or without Skinr (7.x-2.x-dev) installed.

arne_hortell’s picture

I fixed it by doing this fix in system.module, its a quickie, but it solves the problem, even when using fusion core as main theme. Therefore you dont need subtheming to fix this issue.

function system_find_base_themes($themes, $key, $used_keys = array()) {
$base_key=NULL; // added by arne@hortell.se
if (array_key_exists('base theme',$themes[$key]->info)) // added by arne@hortell.se
$base_key = $themes[$key]->info['base theme'];
else // added by arne@hortell.se
return array($base_key => NULL); // added by arne@hortell.se
// Does the base theme exist?
if (!isset($themes[$base_key])) {
return array($base_key => NULL);
}

arne_hortell’s picture

After upgrading the system_find_base_themes actually calls
drupal_find_base_themes

But the old problem code above still exists...
Here is what the start of it should be
---------------------------
function drupal_find_base_themes($themes, $key, $used_keys = array()) {
$base_key=NULL; // added by arne@hortell.se
if (array_key_exists("base theme",$themes[$key]->info)) // added by arne@hortell.se
$base_key = $themes[$key]->info['base theme'];
else // added by arne@hortell.se
return array($base_key => NULL); // added by arne@hortell.se
-------------
Rest is untouched...

arne_hortell’s picture

Changes above is done in
drupal_root/includes/theme.inc
at lines 841 and forward.

arne_hortell’s picture

It turns out that fusion/fusion mobile has an issue so its not necessary to do the above fixing, just remove fusion themes...

yogendra singh’s picture

Version: 7.x-1.x-dev » 7.x-2.0-beta2
Assigned: aquariumtap » yogendra singh

Hi,

i am install fusion theme version is 7.x-2.0-beta2 .

front end error is Notice: Undefined index: base theme in drupal_find_base_themes() (line 841 of D:\xampp\htdocs\drupal7\includes\theme.inc).

kaavla’s picture

Hello, When i enable the

Fusion Starter Lite 7.x-2.0-beta2 (default theme)

I get the following errors on the home page:

-SNIP--
Notice: Undefined index: base theme in drupal_find_base_themes() (line 841 of /var/www/BeyondSchool/includes/theme.inc).
Notice: Undefined index: itm_field_event_count in FacetapiAdapter->buildRealm() (line 1056 of /var/www/BeyondSchool/sites/all/modules/facetapi/plugins/facetapi/adapter.inc).
Notice: Undefined index: sm_field_service_category in FacetapiAdapter->buildRealm() (line 1056 of /var/www/BeyondSchool/sites/all/modules/facetapi/plugins/facetapi/adapter.inc).
Notice: Undefined index: ftm_field_price in FacetapiAdapter->buildRealm() (line 1056 of /var/www/BeyondSchool/sites/all/modules/facetapi/plugins/facetapi/adapter.inc).
Notice: Undefined index: sm_field_age_category in FacetapiAdapter->buildRealm() (line 1056 of /var/www/BeyondSchool/sites/all/modules/facetapi/plugins/facetapi/adapter.inc).

--SNIP--

Here are details on my drupal site:

--SNIP--
Drupal version : 7.19
Database driver : mysql
Default theme : fusion_starter_lite
PHP configuration : /etc/php5/cli/php.ini
Drush version : 5.4
Drush configuration :
-SNIP--

Here are the modules that i have
--SNIP--
Name Installed version Proposed version Status
Address Field (addressfield) 7.x-1.0-beta3 7.x-1.0-beta3 Up to date
Administration menu (admin_menu) 7.x-3.0-rc3 7.x-3.0-rc4 Update available
Apache Solr framework (apachesolr) 7.x-1.1 7.x-1.1 Up to date
Apachesolr Commerce (apachesolr_commerce) 7.x-1.x-dev 7.x-1.x-dev Up to date
Better Exposed Filters (better_exposed_filters) 7.x-3.0-beta3 7.x-3.0-beta3 Up to date
Drupal 7.19 7.19 Up to date
Calendar (calendar) 7.x-3.4 7.x-3.4 Up to date
Commerce (commerce) 7.x-1.4 7.x-1.4 Up to date
Commerce Addressbook (commerce_addressbook) 7.x-2.0-rc3 7.x-2.0-rc3 Up to date
Commerce AutoSKU (commerce_autosku) 7.x-1.1 7.x-1.1 Up to date
Commerce Search API (commerce_search_api) 7.x-1.0-rc2 7.x-1.0 Update available
Commerce Stock (commerce_stock) 7.x-1.1 7.x-1.1 Up to date
Chaos tools (ctools) 7.x-1.2 7.x-1.2 Up to date
Facet API (facetapi) 7.x-1.2 7.x-1.2 Up to date
Date (date) 7.x-2.6 7.x-2.6 Up to date
Devel (devel) 7.x-1.3 7.x-1.3 Up to date
Display Suite (ds) 7.x-2.0 7.x-2.0 Up to date
Entity API (entity) 7.x-1.0-rc3 7.x-1.0 Update available
Entity Reference (entityreference) 7.x-1.0 7.x-1.0 Up to date
1158878 7.x-1.0 7.x-1.0 Up to date
Fieldgroup (field_group) 7.x-1.1 7.x-1.1 Up to date
Fivestar (fivestar) 7.x-2.0-alpha2 7.x-2.0-alpha2 Up to date
Fusion grid tools (fusion_accelerator) 7.x-2.0-beta1 7.x-2.0-beta1 Up to date
Inline Entity Form (inline_entity_form) 7.x-1.0-rc1 7.x-1.1 Update available
Link (link) 7.x-1.0 7.x-1.0 Up to date
Location (location) 7.x-3.0-alpha1 7.x-3.0-alpha1 Up to date
Menu Token (menu_token) 7.x-1.0-beta1 7.x-1.0-beta4 Update available
Organic groups (og) 7.x-1.5 7.x-1.5 Up to date
Panels (panels) 7.x-3.3 7.x-3.3 Up to date
Profile2 (profile2) 7.x-1.2 7.x-1.3 Update available
Profile2 Registration Path (profile2_regpath) 7.x-1.12 7.x-1.12 Up to date
Rules (rules) 7.x-2.2 7.x-2.2 Up to date
Search API (search_api) 7.x-1.4 7.x-1.4 Up to date
Search ranges (search_api_ranges) 7.x-1.4 7.x-1.4 Up to date
Tab Tamer (tabtamer) 7.x-1.1 7.x-1.1 Up to date
Token (token) 7.x-1.4 7.x-1.4 Up to date
Views (views) 7.x-3.5 7.x-3.5 Up to date
Views Bulk Operations (views_bulk_operations) 7.x-3.1 7.x-3.1 Up to date
Voting API (votingapi) 7.x-2.10 7.x-2.10 Up to date
fusion 7.x-2.0-beta2 7.x-2.0-beta2 Up to date
Touch (touch) 7.x-1.7 7.x-1.7 Up to date

--SNIP--