• Resolved rohilv

    (@rohilxm)


    I just update W3 Total Cache plugin and i get these errors:

    Uncaught TypeError: Cannot find length of undefined
    at Function.updateMarkup (eval at <anonymous> (jquery.js:2), <anonymous>:7:1401)
    at HTMLDivElement.eval (eval at <anonymous> (jquery.js:2), <anonymous>:7:3927)
    at Function.each (jquery.js:2)
    at Function.animateTheCaptions (eval at <anonymous> (jquery.js:2), <anonymous>:7:3875)
    at swapSlideProgress (jquery.themepunch.revolution.min.js:7)
    at Object.target (jquery.themepunch.revolution.min.js:7)

    I am using W3T Cache version 0.11.0 along with Autoptimize Version 2.5.1 and Slider Revolution.
    The issue only comes when I activated both autoptimize and W3TC. If I disabled either of the plugins then the slider works fine. I tried disabling each cache module to debug which is causing the issue. I disabled all the cache options in w3tc but still the issue was persistent until I completely disabled the plugin.
    I suspect this is similar issue as was found earlier with HTML minification around 9-10 months back.

    Currently I downgraded the plugin to v0.9.7 and this has fixed the issue for me now.
    References:
    1. https://wordpress.org/support/topic/errors-after-last-update/
    2. https://wordpress.org/support/topic/conflict-with-popup-maker-and-rev-slider-not-showing/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @rohilxm

    Thank you for bringing this to our attention.
    Just to confirm that this is an HTML minify issue, Can you please upgrade W3 Total cache to the latest release, enable it along with AO and disable HTML minify in both W3TC and AO.
    Please let us know if the issue persists after these steps.
    Thank you.

    Thread Starter rohilv

    (@rohilxm)

    Hello @vmarko,

    As you mentioned, I disabled HTML minify option in W3TC and AO both and the issue isn’t reproducing.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @rohilxm

    Can you please apply this fix:
    and replace line 356 in lib/Minify/Minify/HTML.php
    if ( empty( $m[3] ) ) {
    with
    if ( $m[3] === ” ) {
    Please let us know if this helps!

    Thread Starter rohilv

    (@rohilxm)

    Hello @vmarko ,

    Nope. This did not help

    Thread Starter rohilv

    (@rohilxm)

    Hi @vmarko,

    Did you find anything on this?

    Let me know if I can help you.

    Thanks!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @rohilxm

    Thank you for the information. This appears to be a conflict between W3 Total Cache and AO (HTML minify).
    The problem Why AO HTML minify is not working even when it’s disabled in W3TC is because W3TC minify library loads even when not enabled. I’ve presented this to developers.
    Now Just to confirm if you Disable AO temporarily, and use W3 Total Cache HTML minify setting, does the issue continues to persist?
    Thank you!

    Thread Starter rohilv

    (@rohilxm)

    Hello @vmarko,

    As mentioned in my 1st comment, The issue doesn’t persist if I disable either of the plugins. It appears only when both are active

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @rohilxm

    Thank you for the information. In cases like this W3 Total Cache and AO conflicts. This was presented to the developers and the possibility not to load the Minify library while W3 Total Cache minify is disabled will be considered for the future. In this case, I can only suggest to user W3 Total Cache minify instead.
    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘W3TC and autoptimize conflict after update with slider revolution’ is closed to new replies.