• Hi guys.

    Autoptimize has done wonders for my page speed and I couldn’t be happier. But it’s also created two issues (not sure if they are related).

    No. 1
    I’m using WP Recipe Maker Pro which allows visitors to rate recipes. That functionality is no longer working but restored once I deactivate Autoptimize.

    No. 2
    It’s also causing 4 javascript errors that disappear once I deactivate autoptimize.

    Uncaught ReferenceError: _ is not defined
        at (index):2
    (index):5 Uncaught ReferenceError: wp is not defined
        at (index):5
        at (index):8
    (index):11 Uncaught ReferenceError: wp is not defined
        at (index):11
        at (index):12
    autoptimize_3e6450dad92e08e0de3dbe5f13c5f34a.js:368 Uncaught TypeError: Cannot read property 'flowRight' of undefined
        at Module.308 (autoptimize_3e6450dad92e08e0de3dbe5f13c5f34a.js:368)
        at r (autoptimize_3e6450dad92e08e0de3dbe5f13c5f34a.js:368)
        at wp.data.0 (autoptimize_3e6450dad92e08e0de3dbe5f13c5f34a.js:368)
        at autoptimize_3e6450dad92e08e0de3dbe5f13c5f34a.js:368
    

    Is this a known issue. I’m also using WP Rocket for caching if that help.

    Thank you,
    Maike

    The page I need help with: [log in to see the link]

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

    (@optimizingmatters)

    There are no known issues in AO, only optimization problems that should be fixed with the proper configuration as described in the troubleshooting tips in the AO FAQ Maike 🙂

    Now given the 3 first JS-errors on the browser console, try adding wp-includes/js to the comma-separated JS optimization exclusion list to start with?

    frank

Viewing 1 replies (of 1 total)

The topic ‘Recipe Rating and Javascript errors’ is closed to new replies.