caught TypeError: Cannot read properties of undefined (reading 'split')

Created on 27 April 2023, about 1 year ago

Drupal 10.0.8
There is javascript errors in the consle as the attached screenshot. The related DOM is as below:

<article data-history-node-id="5" role="article" class="contextual-region node node--type-article grid-full node--promoted node--view-mode-full">
  <header class="layout--content-narrow">
    <div data-contextual-id="node:node=5:changed=1682495866&amp;langcode=en" data-contextual-token="DXT3dGTeYwH-1Dgnq_swRNEIgEc61RzB4I-aaMj8E8E"></div>
    <div class="node__meta">
      <span> By <span>
          <a title="View user profile." href="/user/1">wzzhang</a>
        </span>, 26 April, 2023 </span>
    </div>
  </header>
  <div class="node__content layout--content-narrow">
    <div class="wide-image primary-image field field--name-field-image field--type-image field--label-hidden field__item">
      <img loading="lazy" src="/sites/default/files/styles/wide/public/2023-04/generateImage_QUPwPe.gif?itok=c-cf28LF" width="553" height="245" alt="Cogo hos quadrum. Ille quia usitas ut utinam." />
    </div>
    <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item">The fashion industry is undergoing a major transformation as sustainable practices become increasingly important to consumers and brands alike. From reducing waste to promoting ethical labor practices, sustainable fashion is shaping the industry in a number of ways. One of the key ways sustainable practices are shaping the fashion industry is through the use of innovative materials. Brands are experimenting with new materials such as recycled fabrics, biodegradable materials, and organic cotton to create sustainable and stylish clothing. This is reducing the industry's reliance on traditional synthetic materials, which are often harmful to the environment. Sustainable practices are also shaping the industry by promoting transparency and accountability. Brands are increasingly providing information about their production processes and supply chains, allowing consumers to make informed choices about their purchases. This is helping to promote a more responsible and sustainable fashion industry. Another way sustainable practices are shaping the industry is through the promotion of circular fashion. This involves designing clothing with the intention of keeping materials in use for as long as possible, reducing waste and promoting sustainability. Brands are also exploring new business models such as rental and resale, which are more sustainable than traditional retail models. Overall, the future of fashion is being shaped by sustainable practices. As consumers become more aware of the impact of their fashion choices, sustainable fashion is becoming increasingly important to the industry. By</div>
  </div>
  <div id="comments" class="layout--content-narrow">
    <section data-drupal-selector="comments" class="comments">
      <h2 class="comments__title">Comments</h2>
      <div class="add-comment">
        <div class="add-comment__form">
          <span data-big-pipe-placeholder-id="callback=comment.lazy_builders%3ArenderForm&amp;args%5B0%5D=node&amp;args%5B1%5D=5&amp;args%5B2%5D=comment&amp;args%5B3%5D=comment&amp;token=FDpRQwYdbnmWRnYAH9qRd8tLV8cpeL87AjLAWjYuDfg"></span>
        </div>
      </div>
    </section>
  </div>
</article>
πŸ› Bug report
Status

Active

Version

9.1

Component

Code

Created by

πŸ‡¨πŸ‡³China fishfree

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024