Closed (fixed)
Project:
Display Suite
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2011 at 16:59 UTC
Updated:
2 Nov 2011 at 08:09 UTC
After disabling Display Suite and then later re-enabling, I received the following notice:
Notice: Undefined index: in _ds_entity_info_alter() (line 301 of /Users/drupal/sites/all/modules/contrib/ds/ds.registry.inc).
Thanks,
Ben
Comments
Comment #1
swentel commentedCould this be related with #1251090: Notice: Undefined index: regions in ds_entity_variables() (line 597) and maybe even related to commerce ? I somehow feel like those 2 issues are connected since I can't reproduce them at all right now. I'd have to try and play a bit with commerce maybe.
Comment #2
swentel commentedChanging status - going to keep this issue as the placeholder for all these notices. Again I can't reproduce this, must be some module here doing strange things and if it's commerce, than I think it's related to #1230830: Custom build modes (e.g. through Display Suite) are not working
Comment #3
Geex2011 commentedI am also getting this issue... any thoughts?
Comment #4
swentel commentedI've been able to reproduce this (still searching how - but I'm on it!)
Edit - the other issue above is related. And now I can't reproduce it anymore, urgh. I've somehow seen that there was a layout saved in the database which shouldn't be there and that triggers those notices. Trying to reproduce this again.
Comment #5
swentel commentedFixed! It could be possible there are some leftover records though in your database. Records having no entry in the 'layout' field can be deleted. And this should now never ever happen again those notices - so that issue with commerce is most likely (like 99%) not related at all.
Comment #6
_kash_ commentedI am getting this Notice too. I don't have any empty rows in the ds_layout_settings table. I'm not using the commerce module.
Notice: Undefined index: content in ds_entity_variables() (line 600 of /home/....../www/sites/all/modules/ds/ds.module).
select layout from ds_layout_settings;
+---------+
| layout |
+---------+
| ds_2col |
| ds_1col |
| ds_2col |
| ds_2col |
| ds_1col |
| ds_1col |
| ds_3col |
| ds_1col |
| ds_1col |
| ds_1col |
+---------+
10 rows in set (0.00 sec)
Comment #7
_kash_ commentedchanging status to active
Comment #8
_kash_ commentedI found out this is happening because the devel, and devel_themer modules were enabled. If I turn them off it works again.
Comment #9
BeaPower commentedI am also having this problem but no devel module enabled
Comment #10
swentel commentedThis was fixed in devel_themer with this patch a couple of weeks of ago: #1193586: devel_themer_theme_registry_alter() comes to early sometimes
Comment #11
dadderley commentedFirst off, I am just starting to use DS. It seems pretty awesome.
Thanks for a great module.
I was having the same problem with the ds-7.x-1.3 release.
I did not have the devel_themer module installed.
I believe that the problem (in my case) was not associated with the Devel module at all.
The problem seemed to appear when I removed some fields and changed others.
I installed the dev release 7.x-1.x-dev from 2011-Oct-04.
This made the problem go away.
Comment #12
LIQUID VISUAL commentedI had this problem after uninstalling panels and it seems to have gone away after I installed today's dev version of DS and cleared cache twice, even before updating database. Not sure if it would have gone away just by clearing cache twice. (I had release version of DS installed over dev version from earlier this week as Drupal kept telling me to install release version. Not sure which is better, have today's dev version now.)
Comment #13
brett1 commented+ 1
did a UPDATE - TOKEN was the only update.
seems to have gone away-?
hope so