Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #6224
    DiogoPires
    Participant

    I’ve installed this plugin in 2 more websites and worked perfectly but not on this one.

    Website: http://www.celerbit.pt/

    Thanks

    #6225
    Bartosz
    Keymaster

    Hi,

    You have a JS error somewhere on the site. The cookie notice is already there but it’s not being shown because the JS doesn’t fire.

    That’s what I see in the debug:

    Error: TypeError: $(…).on is not a function
    Source: http://www.celerbit.pt/wp-content/cache/minify/000000/LchhDkAwDAbQC1m_TFxopqTDyrol3F6In-95RNVV2GWtEhnJMBfNtQNCChctqsvG4RCjqPt32GQ0pLNxuZvAk_fU_3ZNaJdMyboBLU9cLGrh9x4.js
    Line: 1

    Unfortunatelly that points to a compressed JS file. If you disable JS compression, it would be easier to point the exact part of problematic code.

    #6231
    DiogoPires
    Participant

    hello,

    I’ve disabled the JS compression. If you could tell me where to find the error I would appreciate it.

    Thanks

    #6232
    Bartosz
    Keymaster

    Sorry, but I don’t see it being disabled, or maybe you have not flushed the cache.

    #6233
    DiogoPires
    Participant

    Try now please

    #6234
    Bartosz
    Keymaster

    I see now. It says that the issue comes from our plugins, but it’s not the case.

    The problem is the jQuery in your theme comes from an ouside source and the version it enqueues is heavy outdated: http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js

    It should never be like that in the theme. The theme should be using the jquery version shipping with WP itself. That’s the critical issue to be fixed by your theme developer.

    #6235
    DiogoPires
    Participant

    Thanks. I’ve updated the jquery version and that seems to have solved the problem.

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