Title: Problem with include within &#8220;wp_enqueue_scripts&#8221;
Last modified: September 18, 2024

---

# Problem with include within “wp_enqueue_scripts”

 *  [LautundKlar](https://wordpress.org/support/users/lautundklargmbh/)
 * (@lautundklargmbh)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/problem-with-include-within-wp_enqueue_scripts/)
 * Because of an faulty include within the “wp_enqueue_scripts” action, all the 
   other enqued meta-tags and scripts get added to the body of the site.
 * We had problems with our yoast-seo plugin because of this.
 * I identified the problematic line of code and added a manual fix to this.
 * Problematic Code in /class-plugin.php line 416.
 * I removed the include from the “wp_enqueue_scripts” block and added it right 
   below, but using the “wp_body_open” action and everything seems to work fine 
   again.
   I would be happy if you could look into this and maybe patch the problem
   in the next version, so I don’t have to manually add the fix on every future 
   update.

Viewing 1 replies (of 1 total)

 *  [AlexCleverReach](https://wordpress.org/support/users/cleverreachakr/)
 * (@cleverreachakr)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/problem-with-include-within-wp_enqueue_scripts/#post-18035326)
 * Hi LautundKlar.
 * Thanks for the tip. If possible, we will include an update in the next Plugin
   Version after checking it.
   RegardsAlex

Viewing 1 replies (of 1 total)

The topic ‘Problem with include within “wp_enqueue_scripts”’ is closed to new replies.

 * ![](https://ps.w.org/cleverreach-wc/assets/icon-256x256.png?rev=2758238)
 * [Official CleverReach® Plugin for WooCommerce](https://wordpress.org/plugins/cleverreach-wc/)
 * [Support Threads](https://wordpress.org/support/plugin/cleverreach-wc/)
 * [Active Topics](https://wordpress.org/support/plugin/cleverreach-wc/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cleverreach-wc/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cleverreach-wc/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [AlexCleverReach](https://wordpress.org/support/users/cleverreachakr/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/problem-with-include-within-wp_enqueue_scripts/#post-18035326)
 * Status: not resolved