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
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é
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
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é