drupalSettings.TBMegaMenu is undefined

Created on 4 April 2024, 3 months ago

Problem/Motivation

After an upgrade to version 3.x-dev, the TB Mega Menu starts to show an error message in the browser console log as displayed in the screenshot attached and here:

TypeError: drupalSettings.TBMegaMenu is undefined
i frontend.js:16

This problem happens only with anonymous users. To logged users the problem disappear.

Steps to reproduce

  • Upgrade to the latest dev version
  • Clean the cache
  • Access as anonymous a page with the TB Mega Menu enabled
  • Check if the menu is working and if the error is displayed in the browser console log
πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium pmichelazzo Brussels

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

Comments & Activities

Production build 0.69.0 2024