- Issue created by @rishi kulshreshtha
- 🇺🇸United States rishi kulshreshtha
I just discovered that https://git.drupalcode.org/project/tablesorter/-/blob/8.x-1.x/tablesorte... already has the fix available!
When using the TableSorter module, the following error is encountered:
Warning: Undefined array key "url" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup() (line 170 of /var/www/html/web/core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php)
This issue appears to be related to a known core bug described in [Drupal issue #3359497]( https://www.drupal.org/project/drupal/issues/3359497 🐛 Log an error message when library definitions have a license with no URL defined Needs work ). The error occurs when JavaScript asset optimization is enabled, causing issues in rendering or functionality.
Update the mottie.tablesorter
library definition in the module to include the correct url
key under license
.
This should resolve the undefined array key "url" issue.
Submit a patch and/or merge request
N/A
N/A
N/A
Active
2.0
Code
I just discovered that https://git.drupalcode.org/project/tablesorter/-/blob/8.x-1.x/tablesorte... already has the fix available!