On a new installation, a warning message shows up on the main install page, after the "Prepare Site" site button is clicked.

• Warning: Creating default object from empty value in_entity_defaults_rebuild() (line 873 of/homepages/6/d494699822/htdocs/website.net/profiles/openoutreach/modules/contrib/entity/entity.module).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nedjo’s picture

Thanks for noting this issue. I'm not immediately able to reproduce it. Perhaps it relates to a specific version of PHP or similar.

Could you post a backtrace from the line where the error is triggered? Usually the Devel module could make this easy, but it's a bit tricky to use at install time. So instead here's a rough and ready way:

  • Before installing the site, edit the file profiles/openoutreach/modules/contrib/entity/entity.module. Just before or after line 873, add the following: drupal_set_message(print_r(debug_backtrace(), TRUE));
  • Run the installation as usual, and copy and paste the backtrace result into this issue.
Steve -cc’s picture

FWIW - I got the same ( or real similar) error message when I installed at NFSN see -
https://drupal.org/node/2176171

wbogart’s picture

After adding line into installation.......

nedjo’s picture

Status: Active » Closed (cannot reproduce)

Yeah, I didn't get a lot out of scanning the debugging info. Please reopen if this error recurs.