• Resolved kaktux

    (@kaktux)


    Just in case anyone else discovers the same problem and is looking for a solution:

    When using Off-Canvas-Sidebar and Autoptimize – the Sidebar is not working.
    For me the solution was to disable the option:
    “?Force JavaScript in <head>?
    Load JavaScript early (discouraged as it makes the JS render blocking)”
    of Autoptimize.

    This also was somehow causing a white gap under the footer of my theme (generatepress). Both problems disappear when disabling that option.

    Sidebar works nicels with gutenberg and generatepress btw. Thx for that plugin.

    cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @kaktux

    When using Autoptimize without that option, do you see any JS errors?
    This plugin’s script should have the correct dependencies in place so should load fine, even with Autoptimize combining the files.

    Cheers, Jory

    Thread Starter kaktux

    (@kaktux)

    i am not really a programmer – so hopefully i did it right: i opened dev tools in chrome and according to a tutorial i found in the console tab there you can find javascript errors.

    It shows:

    JQMIGRATE: Migrate is installed, version 3.3.2
    tarteaucitron.min.js?ver=6.0:384 ?????????? ?????? ???? ?????? ?????? ???? ?????? loaded and running...
    tarteaucitron.min.js?ver=6.0:953 truemycustomservice
    frame-beacon.js:1 Uncaught DOMException: Blocked a frame with origin "https://platform.twitter.com" from accessing a cross-origin frame.
        at chrome-extension://lnnmjmalakahagblkkcnjkoaihlfglon/dist/frame-beacon.js:1:202078
        at chrome-extension://lnnmjmalakahagblkkcnjkoaihlfglon/dist/frame-beacon.js:1:202159
        at chrome-extension://lnnmjmalakahagblkkcnjkoaihlfglon/dist/frame-beacon.js:1:202163
    analytics.mypage.de/matomo.php?action_name=mypage%20%E2%80%93%20my.%20clean%20pagename&idsite=1&rec=1&r=437598&h=10&m=42&s=35&url=https%3A%2F%2Fsandbox.mypage.com%2F&_id=a40f7ce2d754ea1c&_idn=0&_refts=0&send_image=0&pdf=1&qt=0&realp=0&wma=0&fla=0&java=0&ag=0&cookie=1&res=1920x1080&pv_id=awC4l0&pf_net=0&pf_srv=0&pf_tfr=2&pf_dm1=551:1          Failed to load resource: the server responded with a status of 400 ()
    DevTools failed to load source map: Could not load content for chrome-extension://bifehkofibaamoeaopjglfkddgkijdlh/browser-polyfill.min.js.map: System error: net::ERR_BLOCKED_BY_CLIENT

    DSGVOallinone is a cookie plugin i use, i also use matamo/piwik for analytics.

    cheers.

    • This reply was modified 2 years, 4 months ago by kaktux.
    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @kaktux

    That doesn’t look like breaking errors. You might need to exclude jQuery from Autotimize, I remember doing this in the past when I was still using the plugin.

    Cheers, Jory

    Plugin Author Jory Hogeveen

    (@keraweb)

    Closing topic due to no reply, feel free to reopen if you still need help!

    Cheers, Jory

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘off-canvas sidebar and autoptimize’ is closed to new replies.