The interface is empty in 'Container settings'

Created on 22 January 2023, over 1 year ago
Updated 8 February 2023, over 1 year ago

Hello

Problem/Motivation

Like you can see, I have a empty 'Container settings' section in /admin/config/system/google-tag/add page and lot error has appear in my site that worked well with Google Analytics. I wanted to switch to GTM. Please, a little help. I have empty the cache (with drush and interface) and first desinstalled Google Analytics.

Steps to reproduce

Install the latest 1.6, use Claro official theme.

Regards

//EDIT :

$ drush status
Drupal version   : 9.5.2
[…]
Site URI         : http://default
Database         : Connected
[…]
Drupal bootstrap : Successful
[…]
Default theme    : (a barrio subtheme)
Admin theme      : claro

The console problem occurs only on admin's pages.

InstallTrigger est obsolète et sera supprimé prochainement. constants.js:50:14
La mise en page a été forcée avant le chargement complet de la page. Si les feuilles de style ne sont pas encore chargées, cela peut provoquer un flash de contenu non stylisé. modernizr.min.js:3:5914
Uncaught SyntaxError: missing = in const declaration js_pN2KnHw4O2UNhmjjjyl_uukBDKSNewbE0u-h4vuRn7U.js:44:228
Uncaught TypeError: n.toolbar is undefined
    <anonymous> https://www.mydomaine.com/sites/default/files/js/js_T5kMiFS36AR87qGIQxhJSN0EmcENwwy-YW3rVipZPEE.js:2
    <anonymous> https://www.mydomaine.com/sites/default/files/js/js_T5kMiFS36AR87qGIQxhJSN0EmcENwwy-YW3rVipZPEE.js:3
js_T5kMiFS36AR87qGIQxhJSN0EmcENwwy-YW3rVipZPEE.js:2:50
Failed to get subsystem status for purpose 
Object { rejected: true, message: TypeError }
content-script.js:95:21
Uncaught TypeError: this.details.drupalGetSummary is not a function
    updateSummary https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:408
    verticalTab https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:408
    dispatch https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:3
    handle https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:3
    trigger https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:3
    trigger https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:3
    each https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:3
    each https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:3
    trigger https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:3
    verticalTab https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:408
    attach https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:407
    each https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:3
    each https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:3
    attach https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:407
    attach https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:407
    attachBehaviors https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:58
    attachBehaviors https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:58
    <anonymous> https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:63
    t https://www.mydomaine.com/sites/default/files/js/js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:62
js_z8Mh6NK5n3Z8H5mDdSC-H6MqIQm2AMj8bUpNIBM3piI.js:408:1126
💬 Support request
Status

Active

Version

1.6

Component

User interface

Created by

🇫🇷France floown

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

Comments & Activities

  • Issue created by @floown
  • 🇺🇸United States solotandem

    try clearing the caches. this issue has been raised before and been determined to be a problem with deployment procedures not this module. thanks for using it.

  • 🇫🇷France floown

    Hello,

    I said, sure, that I had empty the caches.

    I don't know what to do more.

  • 🇺🇸United States solotandem

    Most people have issue with the container form being empty after a cache rebuild or site deploy. You indicate this error on the add container workflow which seems highly unusual. Do you have any existing containers? If so what happens if you try to edit one?

    Review the module settings at admin/config/system/google-tag/settings. Do you have checked Recreate snippets on cache rebuild? If so and you use drush to rebuild cache, does the web site user have ability to overwrite files written by the drush user? The GA module has nothing to do with this.

    The console error you pasted Uncaught TypeError: n.toolbar is undefined has nothing to do with this module. Can you investigate that?

  • 🇫🇷France floown

    I have reinstall this module.

    I have empty the caches with interface and Drush. I have verify, the directory 'google_tag' exist in files (I have check the checkboxes you point admin/config/system/google-tag/settings then uncheck them).

    See another time my screencaps to understand that the module create a javascript error. No where in admin I have these one, just in /admin/config/system/google-tag/add

    So the interface can display properly.

    I can not use this module yet.

    I hope you requalify this issue in a interface bug.

    Regards.

  • 🇺🇸United States solotandem

    The console errors are not related to this module. Have you confirmed the snippet directory is writable by the website user? And that it contains the snippet files? You mention the add container form is empty. What about the module settings form?

    You have not provided any reason to 'requalify' this issue as a bug. So far you have indicated that something undesirable occurs, but have yet to demonstrate a connection to this module. Are you knowledgeable enough to debug the code?

  • 🇫🇷France floown

    Hello,

    Yes, I have no right problem on my folders and site. The directory has been created, but no files are present into it.

    Someone has said me that perhaps Advagg → compression for JS and CSS can do some bugs in administration.

    What do you think about it? I have reinstall Google Analytics at this moment, but I will retest GTM in some days.

Production build 0.69.0 2024