Closed (cannot reproduce)
Project:
Fusion
Version:
7.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Sep 2010 at 13:56 UTC
Updated:
9 Feb 2013 at 19:11 UTC
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
Comment #1
Melissamcewen commentedSame here but in 6X as well
Comment #2
shortcircuitcg commentedsame here.
Error
Notice: Undefined index: base theme in system_find_base_themes() (line 2564 of (site specific path then...) /modules/system/system.module).
Comment #3
sociotech commentedDo 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.
Comment #4
nirbhasa commentedI 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
Comment #5
sivaji_ganesh_jojodae commentedI 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
system.module
Can we move this to skinr module issue queue ?
Comment #6
kinesus commentedproblem solved!
Comment #7
juanjo_vlc commented#6 (Kinesus), How you solve it?
Comment #8
aquariumtap commentedI'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?
Comment #9
aquariumtap commentedComment #10
aquariumtap commentedComment #11
realnerd commentedI 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.
Comment #12
arne_hortell commentedI 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);
}
Comment #13
arne_hortell commentedAfter 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...
Comment #14
arne_hortell commentedChanges above is done in
drupal_root/includes/theme.inc
at lines 841 and forward.
Comment #15
arne_hortell commentedIt turns out that fusion/fusion mobile has an issue so its not necessary to do the above fixing, just remove fusion themes...
Comment #16
yogendra singh commentedHi,
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).
Comment #17
kaavla commentedHello, 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--