[Resolved] GP Premium saving deleted Hooks?

Home Forums Support [Resolved] GP Premium saving deleted Hooks?

Home Forums Support GP Premium saving deleted Hooks?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1390208
    Samuel

    Some time ago I implemented a Cookie Banner via Hooks. But I can’t find this code anywhere: https://www.screencast.com/t/rkZ3WgM2

    So i get this error: https://www.screencast.com/t/AaO6xuyPTG83
    And yes i deleted /js/cookieconsent.min.js

    So I installed a test environment and deactivated GP Premium and lo and behold: the error does not appear in the console anymore. I have been looking for this error for 3 hours now. Is it possible that it is still cached somehow?

    Ans the function.php is clean.

    #1390239
    Samuel

    Is probably this the problem? https://www.screencast.com/t/EJYFAcA459

    By the way, if I deactivate this in the test environment, it disappears completely. Isn’t Elements = Hooks?

    #1390255
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Hooks is now a deprecated module – it was replaced by Elements.

    Since you have Elements activated as well, you’ll want to go to “Appearance > Elements” and click the “Legacy Hooks” button at the top of the page. That’s where you’ll want to remove your old hook.

    Alternatively, you can just deactivate the old Hooks module.

    #1390312
    Samuel

    Ok works fine now. Thanks!

    #1391657
    Tom
    Lead Developer
    Lead Developer

    No problem!

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