Title: Recipe Rating and Javascript errors
Last modified: February 9, 2019

---

# Recipe Rating and Javascript errors

 *  [maikecorbett](https://wordpress.org/support/users/maikecorbett/)
 * (@maikecorbett)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/recipe-rating-and-javascript-errors/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frecipe-rating-and-javascript-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/recipe-rating-and-javascript-errors/#post-11188271)
 * 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](https://wordpress.org/plugins/autoptimize/#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.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/recipe-rating-and-javascript-errors/#post-11188271)
 * Status: not resolved