After running through the database install the following notices appear on the admin user creation page:
Notice: Undefined index: taxonomy_term in field_info_instances() (line 687 of /Users/DanielPHenry/Sites/openchurch.local/modules/field/field.info.inc).
Notice: Undefined index: comment_subject_field_openchurch_image in variable_features_rebuild() (line 137 of /Users/DanielPHenry/Sites/openchurch.local/profiles/openchurch/modules/contrib/strongarm/strongarm.module).
Notice: Trying to get property of non-object in variable_features_rebuild() (line 137 of /Users/DanielPHenry/Sites/openchurch.local/profiles/openchurch/modules/contrib/strongarm/strongarm.module).
http://files.clikbox.com/skitch/Configure_site_%7C_Drupal-20120321-22164...
Comments
Comment #1
drupalninja99 commentedYou will want to disable notices, several contrib modules still throw notice errors. You can check the stronfarm queue for instance and see if this is a strongarm problem, but I recommend disabling notices bc there will always be some contrib module somewhere throwing an 'undefined index' notice.
Comment #2
danielphenry commentedI've built plenty of sites on Drupal without any notices present. Just saying turn them off is kind of a cop out.
If the notice is a problem with the module used this case should track which problems those are so contributors can repair them. If their are no cases in the offending modules then the problem is with the distro and should be fixed.
I'll try to take a look at these myself when I have some time.
I like what I see in this distro so far but if it's going to be taken seriously these notices need to be taken seriously.
Comment #3
drupalninja99 commentedYa that is understandable, I certainly will fix any OC notices for sure. As for notices coming from strong arm, etc. I just need help identifying where those originate. If its a strong arm issue for instance then we can report it, patch etc. and update the version. I don't have the option to just stop using strong arm. It's difficult supporting my own modules as well as 20-30 contributed modules so any help I can get would be greatly appreciated. Thanks!
Comment #4
danielphenry commentedLooks like the first one:
Notice: Undefined index: taxonomy_term in field_info_instances() (line 687 of /Users/DanielPHenry/Sites/openchurch.local/modules/field/field.info.inc).
is caused by the field_collection module: #1069318: Notice: Undefined index: field_collection_item in field_info_instances()
Comment #5
drupalninja99 commentedIs there a patch? If there is I could add it to the .make unless there's a new release that's ready.
Comment #6
danielphenry commentedThe second two are a problem with one of the features:
modules >> features >> openchurch_image >> openchurch_image.strongarm.inc line 55-60
Not sure which name is correct "comment_subject_field__image" or "comment_subject_field_openchurch_image". but the name and the array offset need to be the same.
Comment #7
Code Monkey commentedIt appears this line, which appears to be line 58,
needs to have openchurch between the double underscores.
I made this change on a local install and the only notice / error remaining on that page was for the "Notice: Undefined index: taxonomy_term ..." error. This error points to the field_info_instances function located in the modules > field > field.info.inc file. This function is listed in the openchurch profile directory 32 times.
Out of those 32 times, it mentions taxonomy 4 times in the file names. That is as far as I can figure out at the moment.
Comment #8
drupalninja99 commentedThanks for the help! I will make these changes is weekend.
Comment #9
drupalninja99 commentedI have made the openchurch image fix in dev.
Regarding the other, I haven't been able to trace down where this is coming from:
Does this only display one time after you finish installation? Or is there another page
Comment #10
drupalninja99 commentedWe aren't using the field collection module.
Comment #11
drupalninja99 commentedI think this is a core issue: http://drupal.org/node/1245332#comment-5705420
Going to try applying this patch: http://drupal.org/files/field_info_instances_fix_returns-1245332-14-7.x_...
Comment #12
drupalninja99 commentedAdded patch to dev, testing drush make build.
Comment #13
drupalninja99 commentedLearning on the fly from http://drupal.org/node/1476014
I had to add a drupal-org-core.make to apply a core patch, also adjusted my build-openchurch.make so that I get the same core patch when I run drush make from head myself. Hopefully this works, might need some help.
Comment #14
drupalninja99 commentedI ran build-openchurch.make and it seemed to apply the patch fine.
I see some errors from the dev packaging script as of April 1st, I guess I will see if this is going to keep happening.
http://drupal.org/node/1334928 (see errors)
Comment #15
drupalninja99 commentedShould be fixed in 1x dev