Solr with empty index throws error.

Created on 4 February 2022, almost 3 years ago
Updated 3 August 2023, over 1 year ago
Error: Call to undefined method Drupal\search_api\Processor\ProcessorProperty::getFieldDefinition() in ../modules/contrib/facets_range_datepicker_widget/src/Plugin/facets/processor/DatepickerProcessor.php on line 84 #0 ../modules/contrib/facets/src/Form/FacetForm.php(232): Drupal\facets_range_datepicker_widget\Plugin\facets\processor\DatepickerProcessor->supportsFacet(Object(Drupal\facets\Entity\Facet))

line 84 should check that: $field instanceof FieldItemDataDefinition. && in_array..

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada SKAUGHT

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine SerShevchyk Lutsk

    I had an error:
    Error: Call to undefined method Drupal\search_api_solr\TypedData\SolrFieldDefinition::getFieldDefinition() in Drupal\facets_range_datepicker_widget\Plugin\facets\processor\DatepickerProcessor->supportsFacet() (line 84 of /app/web/modules/contrib/facets_range_datepicker_widget/src/Plugin/facets/processor/DatepickerProcessor.php)

    and the patch helps me.

  • Status changed to Fixed over 1 year ago
  • πŸ‡¨πŸ‡¦Canada SKAUGHT

    thanks. closing.

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

Production build 0.71.5 2024