Attached library name typo issue on Template

Created on 9 February 2024, 5 months ago

Problem/Motivation

Typo on the attached library name on the Template. Getting the warning error.

#0 /var/www/html/web/core/includes/bootstrap.inc(164): _drupal_error_handler_real(512, 'The following t...', '/var/www/html/w...', 63)
#1 [internal function]: _drupal_error_handler(512, 'The following t...', '/var/www/html/w...', 63)
#2 /var/www/html/web/core/lib/Drupal/Core/Extension/ExtensionPathResolver.php(63): trigger_error('The following t...', 512)
#3 /var/www/html/web/core/lib/Drupal/Core/Extension/ExtensionPathResolver.php(85): Drupal\Core\Extension\ExtensionPathResolver->getPathname('theme', 'ebt_carousel')
#4 /var/www/html/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php(127): Drupal\Core\Extension\ExtensionPathResolver->getPath('theme', 'ebt_carousel')
#5 /var/www/html/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php(87): Drupal\Core\Asset\LibraryDiscoveryParser->buildByExtension('ebt_carousel')
#6 /var/www/html/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php(66): Drupal\Core\Asset\LibraryDiscoveryCollector->getLibraryDefinitions('ebt_carousel')
#7 /var/www/html/web/core/lib/Drupal/Core/Cache/CacheCollector.php(149): Drupal\Core\Asset\LibraryDiscoveryCollector->resolveCacheMiss('ebt_carousel')
#8 /var/www/html/web/core/lib/Drupal/Core/Asset/LibraryDiscovery.php(44): Drupal\Core\Cache\CacheCollector->get('ebt_carousel')
#9 /var/www/html/web/core/lib/Drupal/Core/Asset/LibraryDiscovery.php(58): 

Steps to reproduce

1. Install the EPT Carousel module using Composer
2. Enable the Paragraph component into any content type.
3. Create an EPT Carousel paragraph item.
4. Visit the node view page by clearing the cache.
5. Access the recent log message.

Proposed resolution

Change the typo name {{ attach_library('ebt_carousel/tiny_slider') }} to the {{ attach_library('ept_carousel/tiny_slider') }}

Remaining tasks

Nil

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.4

Component

Code

Created by

🇮🇳India arunkumark Coimbatore

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024