• Resolved aminux

    (@aminux)


    When I import settings the website is down and I have this error in My Console

    bundle.admin.js?ver=80156f18e5e60cf26946:106 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'slug')
    at o (bundle.admin.js?ver=80156f18e5e60cf26946:106:14816)
    at previewConsentModal (bundle.admin.js?ver=80156f18e5e60cf26946:106:19324)
    at bundle.admin.js?ver=80156f18e5e60cf26946:7:642
    at bundle.admin.js?ver=80156f18e5e60cf26946:7:654
    at n. (components.min.js?ver=36b97398bf090476214e:27:14952)
    at Object.De (react-dom.min.js?ver=18.3.1:2:16716)
    at Be (react-dom.min.js?ver=18.3.1:2:16870)
    at react-dom.min.js?ver=18.3.1:2:36731
    at Ir (react-dom.min.js?ver=18.3.1:2:36825)
    at Ur (react-dom.min.js?ver=18.3.1:2:37239)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author pressidium

    (@pressidium)

    Hey, @aminux!

    Are you using the latest version of Pressidium Cookie Consent to import your settings?

    Additionally, could you please provide the JSON file you’re trying to import? This will help us troubleshoot the issue more effectively.

    Thread Starter aminux

    (@aminux)

    {
    "autorun": true,
    "force_consent": false,
    "autoclear_cookies": true,
    "page_scripts": true,
    "hide_from_bots": true,
    "reconsent": true,
    "delay": 0,
    "cookie_expiration": 182,
    "cookie_path": "/",
    "cookie_domain": "infinite-health.server-prod.com",
    "auto_language": "browser",
    "cookie_name": "pressidium_cookie_consent",
    "languages": {
    "fr": {
    "consent_modal": {
    "title": "Consentement à l'utilisation de cookies",
    "description": "Bonjour, nous utilisons des cookies pour assurer le bon fonctionnement du site web, pour analyser le trafic et les performances, et pour fournir des fonctionnalités de médias sociaux. Paramètres des cookies",
    "primary_btn": { "text": "Accepter tous", "role": "accept_all" },
    "secondary_btn": { "text": "Personnaliser", "role": "settings" }
    },
    "settings_modal": {
    "title": "Préférences en matière de cookies",
    "save_settings_btn": "Sauvegarder les paramètres",
    "accept_all_btn": "Accepter tous",
    "reject_all_btn": "Rejeter tous",
    "close_btn_label": "Fermer",
    "cookie_table_headers": [{ "name": "Nom" }, { "domain": "Domaine" }, { "expiration": "Expiration" }, { "path": "Chemin d'accès" }, { "description": "Description" }],
    "blocks": [
    {
    "title": "Utilisation des cookies ??",
    "description": "Nous utilisons des cookies pour assurer le bon fonctionnement du site web, pour analyser le trafic et les performances, et pour fournir des fonctions de médias sociaux. Cliquez sur les titres des différentes catégories pour en savoir plus et modifier nos paramètres par défaut. Toutefois, le blocage de certains types de cookies peut avoir une incidence sur votre expérience du site et sur les services que nous sommes en mesure d'offrir."
    },
    {
    "title": "Cookies strictement nécessaires",
    "description": "Ces cookies sont nécessaires au fonctionnement du site web et ne peuvent pas être désactivés dans nos systèmes. Vous pouvez configurer votre navigateur pour qu'il bloque ces cookies ou vous en avertisse, mais certaines parties du site risquent alors de ne pas fonctionner.",
    "toggle": { "value": "necessary", "enabled": true, "readonly": true },
    "cookie_table": []
    },
    {
    "title": "Cookies de performance et d'analyse",
    "description": "Ces témoins nous permettent d'analyser les visites et les sources de trafic afin de mesurer et d'améliorer les performances de notre site. Ils nous aident à savoir quelles sont les pages les plus et les moins populaires et à voir comment les visiteurs se déplacent sur le site.",
    "toggle": { "value": "analytics", "enabled": false, "readonly": false },
    "cookie_table": [{ "name": "ga", "domain": "infinite-health.server-prod.com", "expiration": "399 jours", "path": "/", "description": "website analytics", "is_regex": false }]
    },
    {
    "title": "Cookies publicitaires et de ciblage",
    "description": "Ces cookies peuvent être installés sur notre site par nos fournisseurs de médias sociaux et/ou nos partenaires publicitaires. Ils peuvent être utilisés par ces sociétés pour établir un profil de vos intérêts et vous montrer des publicités pertinentes sur d'autres sites. Ils ne stockent pas d'informations directement personnelles, mais sont basés sur l'identification unique de votre navigateur et de votre appareil Internet.",
    "toggle": { "value": "targeting", "enabled": false, "readonly": false },
    "cookie_table": []
    },
    {
    "title": "Cookies de fonctionnalité et de préférences",
    "description": "Ces cookies nous permettent d'améliorer la fonctionnalité et la personnalisation en stockant les préférences de l'utilisateur.",
    "toggle": { "value": "preferences", "enabled": false, "readonly": false },
    "cookie_table": []
    },
    { "title": "Plus d'informations", "description": "Pour toute question relative à notre politique en matière de cookies et à vos choix, veuillez nous contacter." }
    ]
    }
    },
    "en": {
    "consent_modal": { "title": "", "description": "", "primary_btn": { "text": "", "role": "accept_all" }, "secondary_btn": { "text": "", "role": "settings" } },
    "settings_modal": {
    "title": "",
    "save_settings_btn": "",
    "accept_all_btn": "",
    "reject_all_btn": "",
    "close_btn_label": "",
    "cookie_table_headers": [{ "name": "" }, { "domain": "" }, { "expiration": "" }, { "path": "" }, { "description": "" }],
    "blocks": [
    { "title": "", "description": "" },
    { "title": "", "description": "", "toggle": { "value": "necessary", "enabled": true, "readonly": true }, "cookie_table": [] },
    {
    "title": "",
    "description": "",
    "toggle": { "value": "analytics", "enabled": false, "readonly": false },
    "cookie_table": [{ "name": "ga", "domain": "infinite-health.server-prod.com", "expiration": "399 jours", "path": "/", "description": "website analytics", "is_regex": false }]
    },
    { "title": "", "description": "", "toggle": { "value": "targeting", "enabled": false, "readonly": false }, "cookie_table": [] },
    { "title": "", "description": "", "toggle": { "value": "preferences", "enabled": false, "readonly": false }, "cookie_table": [] },
    { "title": "", "description": "" }
    ]
    }
    }
    },
    "gui_options": { "consent_modal": { "layout": "box", "position": "bottom right", "transition": "slide", "swap_buttons": false }, "settings_modal": { "layout": "box", "position": "left", "transition": "slide" } },
    "pressidium_options": {
    "primary_btn_role": "accept_all",
    "secondary_btn_role": "settings",
    "cookie_table": {
    "necessary": [{ "name": "transitpetrelluzzi", "domain": "infinite-health.server-prod.com", "expiration": "90 jours", "path": "/", "description": "website performance analysis cookie", "is_regex": false }],
    "analytics": [{ "name": "ga", "domain": "infinite-health.server-prod.com", "expiration": "399 jours", "path": "/", "description": "website analytics", "is_regex": false }],
    "targeting": [],
    "preferences": []
    },
    "blocked_scripts": [
    { "src": "^(?:https?:)?\/\/(?:www\.)?google-analytics\.com", "category": "analytics", "is_regex": true },
    { "src": "^(?:https?:)?\/\/connect\.facebook\.net", "category": "targeting", "is_regex": true }
    ],
    "colors": {
    "bg": "#f9faff",
    "text": "#000000",
    "btn-primary-bg": "#263169",
    "btn-primary-text": "#f9faff",
    "btn-primary-hover-bg": "#1d2e38",
    "btn-primary-hover-text": "#f9faff",
    "btn-secondary-bg": "#dfe7f9",
    "btn-secondary-text": "#112954",
    "btn-secondary-hover-bg": "#c6d1ea",
    "btn-secondary-hover-text": "#112954",
    "toggle-bg-off": "#8fa8d6",
    "toggle-bg-on": "#3859d0",
    "toggle-bg-readonly": "#cbd8f1",
    "toggle-knob-bg": "#fff",
    "toggle-knob-icon-color": "#ecf2fa",
    "cookie-category-block-bg": "#ebeff9",
    "cookie-category-block-bg-hover": "#dbe5f9",
    "section-border": "#f1f3f5",
    "block-text": "#112954",
    "cookie-table-border": "#e1e7f3",
    "overlay-bg": "rgba(230, 235, 255, .85)",
    "webkit-scrollbar-bg": "#ebeff9",
    "webkit-scrollbar-bg-hover": "#3859d0"
    },
    "record_consents": true,
    "gcm": {
    "enabled": true,
    "implementation": "gtag",
    "ads_data_redaction": false,
    "url_passthrough": false,
    "regions": [
    {
    "country": "fr",
    "subdivisions": [],
    "default_consent_states": { "ad_storage": false, "ad_user_data": false, "ad_personalization": false, "analytics_storage": false, "functionality_storage": true, "personalization_storage": true, "security_storage": true }
    }
    ]
    }
    },
    "revision": 7,
    "version": "1.4.0"
    }
    Plugin Author pressidium

    (@pressidium)

    Hey, @aminux!

    Thank you for following up and bringing this to our attention. We appreciate you taking the time to report it.

    This will be fixed in the next release. We’re tracking its progress in #81 on the plugin’s GitHub repository.

    Plugin Author pressidium

    (@pressidium)

    Hey, @aminux!

    This was addressed in 1.5.1, which was just released.

    I’m going to mark this topic as resolved. If this doesn’t fixes your issue, please let us know.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.