- Issue created by @olegrymar
- Merge request !13simple_menu_icons-3516251|Fix for the issue with menu icons css. β (Open) created by olegrymar
On one of our client servers, I see a lot of errors related to this line of code in simple_menu_icons_css_alter: \Drupal::service('file_url_generator')->generateAbsoluteString($cssfile);
I see the same thing in my local environment.
.../sites/default/files/css/menu_icons_1742919384.css?stouet=Symfony\Component\HttpKernel\Exception\BadRequestHttpException: The theme must be passed as a query argument in Drupal\system\Controller\AssetControllerBase->deliver() (line 132 of /var/www/.../.../.../core/modules/system/src/Controller/AssetControllerBase.php).
I don't see the point in making an extra request to the server to be able to get menu_icons.css file. Instead, we should use the relative URLs.
Active
3.0
Code