• Resolved JohnnyKB

    (@johnnykb)


    Hello, and thank you for your hard work in making this plugin.

    I am unable to enjoy its simplicity, however, and I believe it’s due to the WordPress version I’m using.

    I updated the website I am developing for a client to 3.9 as it wasn’t public yet and preferred having it as up-to-date as possible with the imminent launch.

    Quickly installed this plugin, and had it set up. The “Show again” tab shows, but it lacks functionality however, and when inspecting the code I could see the header with inline CSS setting its display to “none”.

    I tried my best to see why is that being set, with no luck. Checked all the PHP, JS and CSS files of the plugin and found no reason.

    More things I’ve tried:

    1. Manually removing the “display:none” property to check if functionality was correct at least, but it wasn’t.
    2. Disabled other plugins, such as Statpress, Jetpack or Layerslider, to see if they were crashing, but that didn’t fix it either
    3. Double-checked if I already had cookies from my site, and removed them. Still no go.

    I’m not sure what more to do, and hopefully you could give me some helpful insight!

    The website development URL is this one, I’ll leave the plugin enabled just in case.

    Thank you so much in advance,
    Jonathan.

    PS.- It’s a custom made plugin, but I’ve already read your troubleshooting and FAQ page, and made sure I was using the wp_footer and wp_enqueue_scripts hooks!

    https://wordpress.org/plugins/cookie-law-info/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    There are 2 immediate problems that I see:

    1. Looks like your theme has hardcoded a link to jQuery because it’s been defined twice. Remove this line:

    <script type=’text/javascript’ src=’/martico/wp-content/themes/reefersolutions/js/jquery.js?ver=3.9′></script>

    2. The jQuery Cookie script hasn’t been loaded, which is throwing an error in the JS console. There are a couple of reasons that spring to mind- first that error #1 is to blame, but also a remote possibility that your server blocks that script altogether.

    Try and fix #1 and see if that helps. I’m currently working on a new version of this plugin that will replace the code causing issue #2 as some Apache servers decide to block it (a known Apache bug).

    Cheers

    Hi, I see you solved the problem- glad it’s working for you. All the best

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin not working on 3.9’ is closed to new replies.