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.
Fatal error: Class 'Drupal\facets\Processor\WidgetOrderPluginBase' not found in /xxxx/modules/search_api_glossary/src/Plugin/facets/processor/GlossaryAZWidgetOrderProcessor.php on line 22
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Class 'Drupal\facets\Processor\WidgetOrderPluginBase' not found in
/xxxx/modules/search_api_glossary/src/Plugin/facets/processor/GlossaryAZWidgetOrderProcessor.php, line 22
When trying to use w/Facets 8.x-1.0-alpha4. I believe according to https://www.drupal.org/node/2731347 WidgetOrderPluginBase has been replaced with SortProcessorPluginBase in Facets
Comment | File | Size | Author |
---|---|---|---|
#11 | refactoring-to-work-with-latest-facets-dev-2796649-11.patch | 2.8 KB | d.novikov |
Comments
Comment #2
d.novikov CreditAttribution: d.novikov as a volunteer commentedPlease check the patch attached.
Comment #3
dakku CreditAttribution: dakku commentedHi Dmytro,
Just tried your patch, but i think you have not moved the plugin and the patch fails at:
Can you revise and re-attach?
Comment #4
d.novikov CreditAttribution: d.novikov as a volunteer commentedSorry for that, it looks like I used a wrong command to create the patch. Attaching a newer version (applied cleanly for me on 8.x-1.x branch).
Comment #6
dakku CreditAttribution: dakku commentedHi Dmytro,
Thanks for the patch.
Comment #7
dakku CreditAttribution: dakku commentedComment #9
d.novikov CreditAttribution: d.novikov as a volunteer commentedHi @dakku,
Unfortunately
facets
module was updated once again :) Here is the most recent patch against the current 8.x-1.x-dev branch.It includes fix for the following error:
Recoverable fatal error: Object of class Drupal\\Core\\Url could not be converted to string in .../modules/contrib/search_api_glossary/src/Plugin/facets/processor/GlossaryAZAllItemsProcessor.php on line 42
Comment #10
d.novikov CreditAttribution: d.novikov as a volunteer commentedUpdated the patch a bit.
Comment #11
d.novikov CreditAttribution: d.novikov as a volunteer commentedYet another modification to eliminate a possibility of overwriting existing fields with empty ones.
Comment #12
dakku CreditAttribution: dakku commentedHi Dmytro,
Thanks for the patch - again :)
Much appreciate your contribution. I will check it out and merge to a new release
Comment #13
dakku CreditAttribution: dakku commentedlatest patch is applied. Please open a new issue for any subsequent patches :)