Solarium 5.0.2 is too old and has known issues. In order to get composer to upgrade solarium to a recent version a core patch or a workaround is required. Have a look at this Core issue and this Search API Solr issue.

Problem:

Solarium 5.0.2 is too old and has known issues. In order to get composer to upgrade solarium to a recent version a core patch or a workaround is required. Have a look at this Core issue and this Search API Solr issue.

Lösung:

composer require symfony/event-dispatcher:"4.3.4 as 3.4.99" && composer update

 

Comments

Permanenter Link

composer require symfony/event-dispatcher:"4.3.4 as 3.4.99"

 

Do not run Composer as root/super user! See https://getcomposer.org/root for details
./composer.json has been updated
Gathering patches for root package.
No patches supplied.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 1 update, 0 removals
Gathering patches for root package.
No patches supplied.
Gathering patches for dependencies. This might take a minute.
  - Installing symfony/event-dispatcher-contracts (v1.1.7): Downloading (100%)
  - Updating symfony/event-dispatcher (v3.4.36 => v4.3.4): Downloading (100%)
symfony/event-dispatcher-contracts suggests installing psr/event-dispatcher
Writing lock file
Generating autoload files



composer update

 

Do not run Composer as root/super user! See https://getcomposer.org/root for details
Gathering patches for root package.
No patches supplied.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 5 removals
  - Removing symfony/var-exporter (v4.4.2)
  - Removing symfony/service-contracts (v1.1.8)
  - Removing symfony/cache-contracts (v1.1.7)
  - Removing symfony/cache (v4.3.9)
  - Removing psr/cache (1.0.1)
Gathering patches for root package.
No patches supplied.
Gathering patches for dependencies. This might take a minute.
  - Updating solarium/solarium (5.0.3 => 5.1.5): Downloading (100%)
Writing lock file
Generating autoload files



 

Permanenter Link

SolrCore Initialization Failures
site5: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core itlntk: Can't load schema /var/solr/data/site5/conf/schema.xml: Plugin init failure for [schema.xml] fieldType "collated_en": Error loading class 'solr.ICUCollationField'
Please check your logs for more information

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare

  • 7 hours ago
    TypeError: Cannot assign null to property Drupal \ views \ Plugin \ views \ argument \ ArgumentPluginBase::$operator of type string

    Das geht auch:

          $this->operator = $break->operator ?? '' ;
  • 1 week 4 days ago
    Bootstrap 5 subtheme is not properly configured. This may be caused by a problem with file or directory permissions.
  • 7 hours ago
    TypeError: Cannot assign null to property Drupal \ views \ Plugin \ views \ argument \ ArgumentPluginBase::$operator of type string

    It works too:

    • web/core/modules/views/src/Plugin/views/argument/NumericArgument.php 

    Line 63, 96 :

  • 2 weeks 6 days ago
    Site URI : http://default (Drupal, how2 update config?)

    Add this line to drupalroot/vendor/drush/drush/drush.yml

    
    options:
         uri: 'https://www.example.com/'
    

     

    drush.yml looks like:

  • 1 month 3 weeks ago
    Webserver CPU Performance Test mit PHP

    Time: 0,19 

    CPU: AMD Ryzen 7 PRO 3700 8-Core Processor

  • 3 months 1 week ago
    TypeError: Cannot assign null to property Drupal \ views \ Plugin \ views \ argument \ ArgumentPluginBase::$operator of type string

    Line 63, 99 :

     -    $this->operator = $break->operator;
     +    if($break->operator){
     +        $this->operator = $break->operator;
     +    }

     

  • 4 months 1 week ago
    Drupal + Basic_Auth Problem : You do not have permission to access this page (Sie haben keine Zugriffsberechtigung für diese Seite. )

    My problem was:

  • 4 months 1 week ago
    Drupal Upgrade (Drupal 9 » Drupal 10)

    I had this exact issue and your site was the only place I found the fix.

    It'd be nice if the module developer applied your fix though.

    Good work! Much appreciated!

  • 5 months 2 weeks ago
    The datasource with ID 'elstut--entity:node' could not be retrieved for index (Drupal, Solr)

    Hier ist die Lösung. (/admin/config/search/search-api/server/solr_server/edit)

    Multisite-Kompatibilität
     + Nur Ergebnisse von dieser Seite beziehen
     

  • 5 months 2 weeks ago
    PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock

     

    Ich bekomme diese Fehlermeldung: