• Resolved llenolleno

    (@llenolleno)


    Hi, I recently installed the plugin, configure it through the wizard and go to the site and can’t see the banner.

    We are using a clean theme and we are building the template pages by hand.
    In the console we can’t see any errors relative to complianz and dont know how to fix that.

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

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Do you have the wordpress hooks

    wp_head();

    wp_footer();

    included in your theme? This is necessary for any WordPress theme, to ensure compatibility with plugins you install.

    Thread Starter llenolleno

    (@llenolleno)

    yes sure, I have both

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    On the complianz/cookie banner page, does it say “your site requires a cookie banner”?

    Thread Starter llenolleno

    (@llenolleno)

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Can you try to add in a mu-plugin or in your theme’s functions.php:

    add_filter( 'cmplz_site_needs_cookiewarning', '__return_true', 100 );

    If this function returns false, this filter should force it to true.

    Thread Starter llenolleno

    (@llenolleno)

    I have been added to my functions.php and the cookie popup still without appears ??

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Very strange this.

    I have created a branch where I removed all conditions on the scripts for the banner:

    https://github.com/Really-Simple-Plugins/complianz-gdpr/tree/remove-conditions-on-banner-warning

    Can you try installing this branch? Please deactivate your current plugin first.

    Let me know if that helps.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Can you also try to switch to a WordPress theme to see if that works?

    Thread Starter llenolleno

    (@llenolleno)

    I tried both.
    First switch theme to wordpress default (twenty twenty one) and nothing happens.
    After that I downloaded the new version and nothing…

    I tried to disable all plugins with the default theme and only leave the new version working but with exact result.

    Hanv’t any idea of what would happening…

    I don’t want to hijack this post but I have the same problem or a similar issue. I tried different things but no cookie banner will show up whatsoever. I will try more when I have the time and see what I can contribute. Right now this is just to confirm the issue. I’m using a paid theme.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @presskopp can you start a new thread and share your domain there? This can be a different issue entirely, perhaps a JavaScript error in another plugin, which is more common. If two different issues are mixed up stuff can get confusing.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @llenolleno,

    Can you try the following:

    – replace in your wp-config.php the line
    define( 'WP_DEBUG', false );

    with

    define( 'WP_DEBUG_LOG', true );
    define( 'SCRIPT_DEBUG', true );
    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_DISPLAY', true );

    Then install the latest version of this branch, which now also contains error logging:
    https://github.com/Really-Simple-Plugins/complianz-gdpr/tree/remove-conditions-on-banner-warning

    In the wp-content folder, check if there is a debug.log. If so, delete or clear it.

    Then load the front-end of your page.

    The debug.log file in your wp-content folder now should container several log statements. Like ‘load class’ and ‘enqueue assists’.

    If you can post the output here, I can see which parts are running, and which parts not.

    I’m having the same issue. I think it’s something related to the browser, I’m using Brave.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @jorgevelarodriguez as your issue probably has a completely different cause, please start a new thread and share your domain so we can check the problem and focus on you entirely.

    On this thread, the issue is that the scripts don’t get enqueued at all, which is no browser issue.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @llenolleno I’ve updated the test branch to remove all conditions, and with several logging statements so we can see in the logs what condition is blocking the scripts.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Complianz not showing in any page’ is closed to new replies.