Closed (fixed)
Project:
Panels
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Jun 2012 at 19:54 UTC
Updated:
1 Feb 2015 at 06:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Yuri commentedto be complete, the error is:
Comment #2
ltwinner commentedGetting the same error after cloning using Panels version 7.x-3.2
Comment #3
ltwinner commentedFlushed all caches, message has gone away now.
Comment #4
calefilm commentedGot the same error using 7.x-3.2. If I re-save it it goes away but i can't help from receiving the error in the first place.
Comment #5
intyms commentedI get the same error when i changed the administrative title of the variant (old title "Marfuri", new title "Product-display")
I am using:
drupal 7.18
Chaos tools 7.x-1.2
Panels 7.x-3.3
I18n 7.x-1.8
Comment #6
sonicthoughts commented+1 - is this something to be concerned about???
Comment #7
somatics commentedI'm seeing this on a bunch of panels on our site too, but I'm not sure if they were all cloned from other variants (we've had some of these panels on this site for 5 years).
Comment #8
summit commentedHi,
Can this be connected with the fact that the body-field is a different thing from Drupal 6 to Drupal 7.
My views and panels gives problems with the body-field after Update from D6-D7.
Greetings, Martijn
Comment #9
merlinofchaos commentedThis error is not serious. The body_classes_to_remove feature was added later, but it appears the code does not properly deal with the fact that older panels won't have this set.
As a workaround, you can re-save (and then re-export, if necessary) the panels and it will make the notice go away.
The error *is* annoying, it shouldn't be happening. There needs to be an empty() check where the item is used; that can prevent the notice. If anyone wants to write the patch, it would be appreciated.
Comment #10
socialnicheguru commentedJust adding here:
enabled panels_everywhere module
cloned a variant for the site template
the error showed up
Comment #11
ergophobe commentedThis patch fixes it for me. It's nothing but an empty check as merlinofchaos suggests.
Comment #12
damienmckennaA minor adjustment.
Comment #13
damienmckennaComment #14
damienmckennaComment #16
michelleThe patch in #12 applies cleanly and fixes the error when tested using the repro steps in #10.
Comment #18
mrjmd commentedComment #19
japerryAhh yah thats simple. Fixed!