- Issue created by @apaderno
- Status changed to RTBC
9 months ago 4:20pm 16 July 2024 - 🇪🇸Spain fjgarlin
Thanks for reporting.
Checking the logs, we get:
InvalidArgumentException: $string ("") must be a string. in Drupal\Core\StringTranslation\TranslatableMarkup->__construct() (line 132 of /app/web/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php). Backtrace #0 /app/web/modules/contrib/api/src/Controller/SearchController.php(297): Drupal\Core\StringTranslation\TranslatableMarkup->__construct() #1 [internal function]: Drupal\api\Controller\SearchController->searchListingPage() ...
Funnily enough, I was doing some clean up today and I fixed that in this commit: https://git.drupalcode.org/project/api/-/commit/e0c74f4e0d5fe7e5b413cc24...
I will be deploying the fix tomorrow.
- 🇮🇹Italy apaderno Brescia, 🇮🇹
I apologize I did not report this earlier: The other time I notice this, drupal.org returned 5xx errors for external causes, and I thought that was happening on api.drupal.org too.
- Status changed to Fixed
9 months ago 3:28pm 17 July 2024 - 🇪🇸Spain fjgarlin
No need to apologize. I really appreciate the reporting/commeting/etc whenever it happens. With the transition to the new systems sometimes it's hard to tell whether it's an infra problem or a code problem.
In any case, this was a code issue, it has been now fixed and deployed to production.
Automatically closed - issue fixed for 2 weeks with no activity.