• Resolved cleophems

    (@cleophems)


    Hello,

    I’m using Complianz (v7.4.1) on WordPress 6.8.2 with PHP 8.1.32 and the Hello theme + Elementor.

    Issue: The cookie banner does not appear at all on the front-end, even with Safe Mode enabled.

    Here’s what I’ve checked so far:

    • The banner is enabled in the settings (enable_cookie_banner: yes)
    • No JavaScript errors in the browser console
    • No HTML of the banner present in the page source

    Additionally, after enabling WP Debugging, I get the following PHP notice:

    Notice: Function _load_textdomain_just_in_time was called incorrectly.
    Translation loading for the complianz-gdpr domain was triggered too early.
    This is usually an indicator for some code in the plugin or theme running too early.
    Please see Debugging in WordPress for more information.
    (This message was added in version 6.7.0.)

    Could this early loading of translations be preventing the banner from loading properly?

    Site URLhttps://atlr55.fr

    Thank you in advance for your help!

    Best regards,
    Atelier55

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Antonio Candela

    (@antoiub)

    Hello @cleophems ,

    Thank you for your detailed message and for the information you’ve already provided.

    Regarding the PHP notice related to the early loading of translations: we’ve addressed this issue months ago in our updates, so it’s likely being caused by a third-party plugin that’s forcing translation loading too early. Could you let us know which other plugins are currently active on the site?

    Additionally, I checked the website and noticed that while the assets load, the main JavaScript file for the banner does not appear to load.

    Could you please try temporarily deactivating all other plugins and leaving only Complianz active, just to see if the banner starts working? That would help narrow down the root cause quickly.

    Also, I’d like to confirm that the versions you’re using: Complianz 7.4.1, WordPress 6.8.2, PHP 8.1.32, Hello theme from Elementor, are all compatible with each other, so that should not be a source of the issue.

    Let me know how it goes!
    Best regards,
    Antonio

    Thread Starter cleophems

    (@cleophems)

    Hello Antonio,

    Thank you for your response.

    The following plugins are currently active, as they are necessary for my site:

    • Elementor
    • Ultimate Addons for Elementor Lite
    • WPForms Lite
    • Image Optimizer – Compress
    • Resize and Optimize Images

    All other plugins have been deactivated for testing.

    Do you think any of these active plugins could interfere with the Complianz banner not displaying?

    Thank you again for your help.

    Best regards,
    Cléophé

    Plugin Support Antonio Candela

    (@antoiub)

    Hello @cleophems ,

    Thank you for the update and the plugin list.

    I’ve replicated the issue and can confirm that the banner is not displaying because of the current configuration. Specifically, your setup only includes the “functional” category, which doesn’t require user consent. As a result, the banner is technically not needed and only the CSS asset is loaded.

    To have the banner appear on the frontend, you’ll need to select at least one service that requires consent during the setup wizard, for example, a service that falls under statistics or marketing.

    I’d kindly suggest going through the wizard again from the beginning and paying extra attention when selecting services or features.

    Additionally, if for any reason the banner still doesn’t appear after completing the wizard, especially if categories don’t appear in the preview due to your current settings, you can force the banner to show using the approach described in this article: https://complianz.io/display-a-cookie-banner-even-when-not-required/.

    I hope this helps.
    Best regards,
    Antonio

    Thread Starter cleophems

    (@cleophems)

    Hello Antonio,

    Thank you so much for your detailed explanation and guidance 🙏
    I followed your recommendations, accepted the statistics category, and the banner appeared immediately — it worked perfectly!

    I really appreciate your help and the clarity of your instructions.

    Best regards,
    Cléophé

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cookie banner not displaying + Translation loading error in WP_DEBUG’ is closed to new replies.