Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2009 at 08:17 UTC
Updated:
5 Mar 2010 at 04:44 UTC
Right now modules can't be enabled if the modules they depend on aren't enabled.
But a theme depends on its base theme, but we don't prevent users from enabling themes with missing dependencies on admin/build/themes.
If you enable a theme with a missing base theme, 2 things happen:
notice: Undefined index: BASETHEMENAME in includes/theme.inc on line 56.
notice: Trying to get property of non-object in includes/theme.inc on line 405.
notice: Trying to get property of non-object in includes/theme.inc on line 409.
notice: Trying to get property of non-object in includes/theme.inc on line 409.
Comments
Comment #1
johnalbinThis issue depends on: #489762: Add theme lineage to .info cache (and prevent WSOD on admin/build/themes)
Comment #2
johnalbin#489762: Add theme lineage to .info cache (and prevent WSOD on admin/build/themes) has been committed.
Comment #3
effulgentsia commented#304540: Disable themes when theme engine or base theme aren't available