Just enadble Panels, together with Views and CTools (all latest devs) on a fresh D7b1 and got the following notice when I opened the Structure/Panels page:
Notice: Undefined offset: 0 in contextual_preprocess() (line 100 of [path]\modules\contextual\contextual.module).
It happens every time.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 939398-no-theme-arguments-makes-notice.patch | 667 bytes | merlinofchaos |
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.