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.
Problem/Motivation
Warning: Undefined array key "X-Ratelimit-Limit" in Drupal\media_pexels\Plugin\EntityBrowser\Widget\PexelsWidget->getForm() (line 475 of /app/web/modules/contrib/media_pexels-media_pexels/src/Plugin/EntityBrowser/Widget/PexelsWidget.php)
That header is missing and 'X-Ratelimit-Remaining' always shows the default ratelimit 20.000.
Steps to reproduce
Search pexels using the widget.
Proposed resolution
Hide the quota info if we don't have all data.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | media_pexels-3342325-2.patch | 1.37 KB | Primsi |
Comments
Comment #2
Primsi CreditAttribution: Primsi at MD Systems GmbH for MD Systems GmbH commentedInitial patch.