• So I installed the plugin, and 2 days later I realize there were some new javascript errors in my contact form.
    I had to disable the plugin because I cant afford to lose clients, but I can paste below the errors from the console:

    Any idea how to fix that? thanks

    autoptimize_d955083cbf40992deffe812ecb9e66d4.js:2642 Uncaught TypeError: a(…).baldrick is not a function
    at resBaldrickTriggers (autoptimize_d955083cbf40992deffe812ecb9e66d4.js:2642)
    at HTMLDocument.<anonymous> (autoptimize_d955083cbf40992deffe812ecb9e66d4.js:2642)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at Function.ready (jquery.js?ver=1.12.4-wp:2)
    at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
    at HTMLDocument.c (rocket-loader.min.js:1)
    at p (rocket-loader.min.js:1)
    at t.simulateStateAfterDeferScriptsActivation (rocket-loader.min.js:1)
    at Object.callback (rocket-loader.min.js:1)

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    I *guess* the problem is with Autoptimize rather then WP YouTube Lyte? ??

    You’ll probably have to add a plugins’s JS to the comma-separated JS optimization exclusion list. Impossible to say which one, but look for baldrick in your page source to try to identify the culprit.

    AO’s FAQ has more info on troubleshooting and how to exclude.

    hope this helps,
    frank (ao dev)

    Thread Starter inefavel

    (@inefavel)

    Actually the error persists even without AO. It happens only when I activate youtube lyte.
    the errors below happen when I disable AO:

    caldera-forms-front.min.js?ver=1.8.7:1 Uncaught TypeError: a(…).baldrick is not a function
    at resBaldrickTriggers (caldera-forms-front.min.js?ver=1.8.7:1)
    at HTMLDocument.<anonymous> (caldera-forms-front.min.js?ver=1.8.7:1)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at Function.ready (jquery.js?ver=1.12.4-wp:2)
    at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
    at HTMLDocument.c (rocket-loader.min.js:1)
    at p (rocket-loader.min.js:1)
    at t.simulateStateAfterDeferScriptsActivation (rocket-loader.min.js:1)
    at Object.callback (rocket-loader.min.js:1)

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    no idea to be honest, there’s nothing in the JS error that explains how LYTE might be interfering. can you share your site’s URL so i can have a look?

    Thread Starter inefavel

    (@inefavel)

    the url with the problem is https://www.tracer.com.br/aula-experimental

    I’ll leave wp-lyte enabled for an hour so you can check it out
    I also disabled all optimization/caching plugins and services

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I see the error, but (to make things just a bit more complicated); there is no LYTE video on the page at all, so the LYTE JS cannot be conflicting here. Absolutely no idea what is happening … :-/

    What happens if you disable cloudflare’s rocket loader?

    Thread Starter inefavel

    (@inefavel)

    Its supposed to be disabled, because I’m on developer mode. Anyway I just turned it off on the console and the error persists ??

    Isnt the lyte JS being loaded on all pages? I can only supposed it is…
    theres a lyte video on the home page, if it helps (but no forms)

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Isnt the lyte JS being loaded on all pages? I can only supposed it is…

    no, only when a LYTE vid is present ..

    only thing I can think of we could do is comparing the HTML source of said page with LYTE active vs when LYTE is not active. there should not be a difference, but who knows?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘conflict with caldera forms’ is closed to new replies.