I'm still new to Drupal, and I'm running into some difficulties. I've installed the Fusion Core and also the Vibe Sub-theme. On every page except for the Home page I am receiving this message:

"Notice: Undefined index: sidebar_second in fusion_core_grid_info()...on line 399"

I've opened up the php file but nowhere on line 399 does the variable sidebar_second appear and I'm not sure what, on line 399 is causing this. Here is line 399..

$width = $width - $grid['fluid_adjustments'][$region]; // Subtract previously calculated sibling region fluid adjustments

I have the page configurations set to 960 px and not a fluid layout. Can someone help with this? Has anyone has similar problems? You assistance is greatly appreciated!

CommentFileSizeAuthor
#3 1217276-sidebar-second-error.patch1.55 KBaquariumtap

Comments

sheena_d’s picture

Status: Active » Postponed (maintainer needs more info)

Does the issue persist if you disable the Vibe theme and simply use Fusion Core?

aquariumtap’s picture

Project: Fusion » Vibe
Version: 7.x-1.x-dev » 7.x-1.0-beta1
Assigned: monraga » aquariumtap
Category: support » bug
Status: Postponed (maintainer needs more info) » Active

This is definitely related to the subtheme. Moving the issue over there, but we'll get it working, monraga :)

aquariumtap’s picture

StatusFileSize
new1.55 KB

The info file is missing a few lines to handle the "adjusted group" logic. They were missing at some point in the Fusion starter theme, then added later on. This theme was probably built on top of that older version. Patch attached.

aquariumtap’s picture

Status: Active » Needs review
monraga’s picture

Status: Needs review » Fixed

Thank you aquariumtap! Issue is resolved. Although, I noticed that after editing the .info file, I had to disable the theme, then re-enable. But nevertheless, problem solved! Thanks! =)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

zeppfan’s picture

Hallo Aquariumtap,

Please could you clarify where the updated code in the patch goes - should it be pasted into fusion_core/fusion_core.info or vibe/vibe.info? I have actually tried both because I don't really know what I'm doing! Also, do I need to comment-out any lines in the code e.g.

From 1795481541e84b82f994a00dc40fef020edcd5e5 Mon Sep 17 00:00:00 2001

Many thanks

zeppfan’s picture

Status: Closed (fixed) » Active
esmerel’s picture

Status: Active » Closed (fixed)

If you look at the patch file, the changes should go in vibe.info

IF you can use git/patch/something that's not by hand to apply the changes, that's a much more usable way than trying to patch by hand.

If you must patch by hand, remove any lines from the .info file that match the lines in the patch that start with - and then add any lines in place that start with +

If you need help applying patches, you might want to take a look over http://drupal.org/patch if you haven't already.

zeppfan’s picture

Hi Esmerel,

Thank you for the much needed advice on using patches. I have now successfully patched the theme. I will investigate GIT at some point also; I didn't know it even existed.

esmerel’s picture

Status: Closed (fixed) » Needs review

I don't know why I marked this closed, the patch clearly should either go into here or something with fusion core :/

Jerimee’s picture

subscribe - I have similar issue with another subtheme of fusion