Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
contextual.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2010 at 15:34 UTC
Updated:
14 Nov 2010 at 04:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
apmsooner commentedYup, same error here for me also.
Comment #2
deepbluesolutions commentedsame error here, using the latest dev release of d7 and the latest release of views and panels
Notice: Undefined offset: 0 in contextual_preprocess() (line 100 of [path]/modules/contextual/contextual.module)
Comment #3
mandreato commentedMe too (italian localization)
Comment #4
Lubas commentedIdem dito.
Comment #5
garry79 commentedhmm, me as well! is there a way i can fix this or are there any compatible drupal 7x versions?
Comment #6
merlinofchaos commentedThis turns out to be a bug in core.
What's going on here is that the 'panels_dashboard' theme has no arguments, and contextual.module does not seem to believe that's actually possible, and throws a notice trying to access a non-existent argument. Clearly it's very rare.
The attached patch fixes this.
Comment #7
mcncyo commentedI tested the patch and it work on my test site.
Comment #8
triDE commentedI tested the patch and it work on my test localhost.
Comment #9
deepbluesolutions commentedyes, fix supplied in #6, works for me too. thanks Merlinofchaos
Comment #10
merlinofchaos commentedTwo positive reviews, and it's a very simple 1 line patch. Taking a risk and marking this RTBC.
Comment #11
dries commentedCommitted to CVS HEAD. Thanks.