Upon enabling the fasttoggle module, I'm receiving these errors in multiples on most pages, including the update.php landing page (after running db updates):
Notice: Undefined offset: 1 in fasttoggle_field_merge_field_labels() (line 37 of /.../sites/all/modules/fasttoggle/module/fasttoggle_field/fasttoggle_field.module).
Invalid fasttoggle configuration detected for the 'field_collection_item' object type.
When I go to the fasttoggle admin page, it displays 3 checkboxes for items for some dropdowns/select lists that I have in my field collection, but they're not checked, nor can they be checked and saved. So this error seems to be permanent no matter what options are selected (though they can't be saved).
The Undefined offset error shows up at least 120+ times per page, on most pages, really annoying. Any chance for a fix?
Comments
Comment #1
nigelcunningham commentedI'm happy to help find a fix; sorry for the delay in replying.
What fasttoggle modules do you have en/disabled?
Comment #2
deanflory commentedModules I have installed and enabled right now (but no longer getting the errors):
It may have been the following submodule as I have it turned off now but think I had it on before, can't remember now:
I'm also wondering if it isn't something to maybe do with an entity that doesn't have a base table for some reason as I got a response from another error and that module maintainer stated it could be that. I'm wondering if it isn't the registration module as there are schema errors reported.
Comment #3
nigelcunningham commentedI've tried installing registration, and am not getting any errors with the 7.x-1.3 version. Is that the one you're using?
Comment #4
deanflory commentedYes, using Entity Registration 7.x-1.3.
Comment #5
nigelcunningham commentedI've managed to reproduce it, and am working on a fix. It's not hard - I just have limited time.
Nigel
Comment #6
deanflory commentedYay, I'm not going crazy! ;P
Thanks for your time and effort, it is appreciated.
Comment #7
nigelcunningham commentedI've just pushed some new commits to git. Would you be able to try out the dev version once it has updated (or the git tree directly)?
Comment #8
deanflory commentedWhen Fasttoggle Field is enabled and I go to the admin page I get:
Under the Field Collection subsection on that admin page I have 3 options/checkboxes and all 3 of them are select lists/dropdowns. No idea if those are the problem or if it is other fields in those Field Collections, but I don't think I have anything other than text fields and date fields in there (off the top of my head).
Comment #9
deanflory commentedOn another site that doesn't yet have any field collections set-up, I do not get the error on the fasttoggle admin page.
Comment #10
socialnicheguru commentedI have these errors when I enable
Invalid fasttoggle configuration detected for the 'command_button' object type.
Invalid fasttoggle configuration detected for the 'fieldable_panels_pane' object type.
Invalid fasttoggle configuration detected for the 'oa_wizard' object type.
Invalid fasttoggle configuration detected for the 'taxonomy_term' object type.
i think it might be in fasttoggle_fields.
When I disabled it, the above errors are not seen
Comment #11
socialnicheguru commentedany update on this or a path forward? I get so many errors for different entity_types.
Comment #12
nigelcunningham commentedThis should be fixed with 7.x-1.7 or the latest dev.
Please reopen this ticket if that's not the case.
Comment #13
nigelcunningham commented