Per this screenshot.

I previously had Commons core search enabled but it's now disabled.

Screenshot_2_21_13_11_07_AM.png

CommentFileSizeAuthor
Screenshot_2_21_13_11_07_AM.png56.62 KBezra-g
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ezra-g’s picture

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

jpontani’s picture

Assigned: Unassigned » jpontani

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

jpontani’s picture

Status: Active » Postponed (maintainer needs more info)

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

jpontani’s picture

Status: Postponed (maintainer needs more info) » Fixed

Committed 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

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

viralgtl’s picture

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