Getting this error on node pages (displays), and on DS admin pages, since updating (via Drupal UI update prompt):
Notice: Undefined variable: layout_attributes in include() (line 13 of /home/me/public_html/mysite.com/sites/all/modules/ds/layouts/ds_2col_stacked_fluid/ds-2col-stacked-fluid.tpl.php).
This appears to be a new feature, which I am not using at present.
From Drupal log report:
Type: php
Date: Wednesday, 25 April 2012 - 8:44pm
User: _superadmin
Location: http://mysite.com/node/add/food-drink
Referrer: http://mysite.com/node/add
Message: Notice: Undefined variable: layout_attributes in include() (line 13 of /home/me/public_html/mysite.com/sites/all/modules/ds/layouts/ds_2col_stacked_fluid/ds-2col-stacked-fluid.tpl.php).
Severity: notice
Hostname: 75.251.220.128
Operations
(I have been making some changes to taxonomy, content types and (core) fields -- but not to DS. I assume that is unrelated.)
Comments
Comment #1
aspilicious commentedDid you upgrade from 7.x-1.5?
Comment #2
swentel commentedIt's a new option in ds layouts, resaving the layouts will remove the notices. That's what you get running on bleeding egde technology :)
Comment #3
aspilicious commentedHmmm this is indeed a new feature...
What if you clear your caches?
Comment #4
mrsinguyen commentedClear cache, this warning gone.
Comment #5
aspilicious commentedMarking this fixed than :)
Comment #6
greta_drupal commentedresaving the layouts seemed to resolve. (now, to just figure out what that layout attributes dealio is all about. more toys!)
Comment #7
tlangston commentedSame thing here but clearing cache and resaving layouts does not permanently resolve. Clears error for the moment but when returning to the layout - errors again.
Comment #8
aspilicious commentedStrange...
Comment #9
greta_drupal commentedYep. I'm finding the same thing. Error is back. Can't confirm, but wonder if adding fields triggers the error again.
Comment #10
swentel commentedFigured it out, this is on a form! The url finally made me see the light. Patch attached, but also committed already.