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

swentel’s picture

Could 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.

swentel’s picture

Status: Active » Postponed (maintainer needs more info)

Changing 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

Geex2011’s picture

I am also getting this issue... any thoughts?

swentel’s picture

Status: Postponed (maintainer needs more info) » Active

I'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.

swentel’s picture

Status: Active » Fixed

Fixed! 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.

_kash_’s picture

I 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)

_kash_’s picture

Status: Fixed » Active

changing status to active

_kash_’s picture

Status: Closed (fixed) » Active

I found out this is happening because the devel, and devel_themer modules were enabled. If I turn them off it works again.

BeaPower’s picture

I am also having this problem but no devel module enabled

swentel’s picture

Status: Active » Closed (fixed)

This was fixed in devel_themer with this patch a couple of weeks of ago: #1193586: devel_themer_theme_registry_alter() comes to early sometimes

dadderley’s picture

Status: Active » Closed (fixed)

First 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.

LIQUID VISUAL’s picture

I 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.)

brett1’s picture

+ 1
did a UPDATE - TOKEN was the only update.
seems to have gone away-?
hope so