Closed (fixed)
Project:
Drupal Commons
Component:
Search
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
21 Feb 2013 at 16:08 UTC
Updated:
13 Apr 2013 at 08:24 UTC
Per this screenshot.
I previously had Commons core search enabled but it's now disabled.

| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot_2_21_13_11_07_AM.png | 56.62 KB | ezra-g |
Comments
Comment #1
ezra-g commentedI noticed these errors in the dblog that intermittently appeared on screen:
Warning: date_format() expects parameter 1 to be DateTime, boolean given in format_date() (line 2016 of /mnt/www/html/commonsintdev/docroot/includes/common.inc).
Notice: Undefined index: user in rich_snippets_default_preprocessor() (line 22 of /mnt/www/html/commonsintdev/docroot/profiles/commons/modules/contrib/rich_snippets/rich_snippets.preprocess.inc).
Comment #2
jpontani commentedThe facets were not enabled for the default Solr environment. This shouldn't happen ever, as any switching between environments should recreate/enable all appropriate facets that are needed on the Solr page.
Looking into why they weren't enabled.
Comment #3
jpontani commentedI can't reproduce this, so I'm not sure exactly what's going on. This shouldn't ever happen as upon any new default Solr environment selected will force Commons Search Solr to update any facets that are required for the search pages.
Comment #4
jpontani commentedCommitted a fix. The issue was that upon enabling Acquia Search, a new environment is created, but Events Solr feature didn't see that a new environment was created, so was not able to make sure the appropriate facets were created alongside. Added a hook_modules_enabled() implementation that checks to see if Acquia Search was enabled, and if so, forces the appropriate facets to be updated.
http://drupalcode.org/project/commons_events.git/commitdiff/c4fea0e
Comment #6
viralgtl commentedWhen I search for any user and then I click on tab Site content I received the error Notice: Undefined index: date in rich_snippets_default_preprocessor(). I am using Drupal Commons 3.0 Beta2.
Can any one help me?
Thanks in advance.