Closed (fixed)
Project:
Fusion
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Jul 2011 at 02:21 UTC
Updated:
20 Oct 2012 at 14:29 UTC
I just installed a Fusion subtheme in a new Drupal7 site.
On ALL my site's /admin pages, but NOT on Visitor's (not-logged-in) pages, I see these dialog boxes:
Notice: Undefined variable: main_group_width in include() (line 38 of /srv/dev/sites/dev.dt.loc/themes/dt_d7_fusion/templates/pages/page.tpl.php).
Looking at my version of that file it's just:
34 <div id="main-wrapper" class="main-wrapper full-width clearfix" >
35 <div id="main" class="main region <?php print $grid_width; ?>" >
36 <div id="main-inner" class="main-inner inner clearfix" >
37 <?php print render($page['sidebar_first']); ?>
38 <div id="main-group" class="main-group region nested <?php print $main_group_width; ?>" >
39 <div id="main-group-inner" class="main-group-inner inner">
40 <?php print render($page['preface_bottom']); ?>
41 <div id="main-content" class="main-content region nested">
42 <div id="main-content-inner" class="main-content-inner inner">
Google turns up the error in two other Fusion-related posts:
http://drupal.org/node/931544
http://drupal.org/node/1121678
But I don't understand yet what to do about it.
Comments
Comment #1
esmerel commentedIs this happening with the Fusion core theme also? Which subtheme are you using?
Comment #2
dtwork commentedCore is in involved, of course, as the parent theme.
I see this issue in each of the main themes that use $main_group_width,
and any subthemes based on them.
This issue's reported on my own custom subtheme.
Comment #3
aquariumtap commentedHi dtwork, could you post your subtheme's .info file?
Comment #4
dtwork commented@ aquariumtap,
cat dtwork_subtheme.info
Comment #5
aquariumtap commentedhi dtwork,
I think this is missing. You can insert it anywhere.
Comment #6
esmerel commentedComment #7
aquariumtap commentedComment #8
lesleyb commentedJust a note to say I had this error start occurring when creating a sub-theme off Fusion.
I used the same fix and it worked (™)