Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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.