Title: Enqueue bug
Last modified: January 12, 2026

---

# Enqueue bug

 *  Resolved [dlindstr0m](https://wordpress.org/support/users/dlindstr0m/)
 * (@dlindstr0m)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/enqueue-bug/)
 * Hello,
 * We noticed there is a bug with the CSS files being enqueued for the plugin. See
   the below paths as two examples:
 * [https://example.com/wp-content/plugins/feeds-for-youtube/css/https:/example.com/wp-content/plugins/feeds-for-youtube/public/build/css/sb-youtube-common.css?ver=2.6.2](https://example.com/wp-content/plugins/feeds-for-youtube/css/https:/example.com/wp-content/plugins/feeds-for-youtube/public/build/css/sb-youtube-common.css?ver=2.6.2)
 * [https://example.com/wp-content/plugins/feeds-for-youtube/css/https:/example.com/wp-content/plugins/feeds-for-youtube/public/build/css/sb-youtube-free.css?ver=2.6.2](https://example.com/wp-content/plugins/feeds-for-youtube/css/https:/example.com/wp-content/plugins/feeds-for-youtube/public/build/css/sb-youtube-free.css?ver=2.6.2)
 * It looks like the paths are adding “[https://example.com/wp-content/plugins/feeds-for-youtube/css/&#8221](https://example.com/wp-content/plugins/feeds-for-youtube/css/&#8221);
   to the beginning of them which is causing these to 404 when viewing any page 
   that has the feed embedded and is causing the pages to load slowly.

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

 *  [Smash Balloon Nigel](https://wordpress.org/support/users/nigelrsb/)
 * (@nigelrsb)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/enqueue-bug/#post-18783582)
 * Hi [@dlindstr0m](https://wordpress.org/support/users/dlindstr0m/),
 * Thank you for contacting us for help with a potential bug in the YouTube Feed
   plugin. I tested my own local setup for the issue you described and did not encounter
   it. Screenshot of the CSS URLs on my local setup: [https://a.supportally.com/i/mfhsNW](https://a.supportally.com/i/mfhsNW).
   
   There may be a conflict with your theme or one of your plugins that is causing
   the issue. To determine if a conflict with another plugin or theme is causing
   the issue, please follow these steps:
    1. **Switch Theme**: Temporarily switch your site to a default theme like Twenty
       Twenty-Three and check if the issue persists. If switching themes resolves the
       problem, the issue originates from your theme. Please contact your theme’s author
       for assistance.
    2. **Deactivate Plugins**: Temporarily deactivate all third-party plugins to see
       if the issue is resolved. If it is, reactivate the plugins one at a time, checking
       for the issue each time a plugin is reactivated. When the issue reappears, the
       last activated plugin is likely the source of the conflict.
 * If switching the theme or deactivating the plugins does not reveal the conflicting
   plugin, please submit a support request via the form on our website, [https://smashballoon.com/support/](https://smashballoon.com/support/),
   and include the System Info. 
 * To obtain this information, please follow the steps on this page: [https://smashballoon.com/doc/how-to-get-system-info](https://smashballoon.com/doc/how-to-get-system-info).
   We ask you to use our form, as the System Info contains other website information
   from your site, which we do not suggest posting here.
 * Please let me know if you have questions.
 * Regards 🙂
 *  [sightfactory](https://wordpress.org/support/users/sightfactory/)
 * (@sightfactory)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/enqueue-bug/#post-18848724)
 * Hi [@nigelrsb](https://wordpress.org/support/users/nigelrsb/) we’re experiencing
   the same issue. It looks like the problem may be tied to the Elementor integration
   in the file SBY_Elementor_Base.php around lines 61 & 138 (\inc\Services\Integrations\
   Elementor\SBY_Elementor_Base.php.).
   Basically there is a bug in that file creating
   broken CSS paths for sb-youtube-free.css and sb-youtube-common.css.On the frontend,
   the browser then tries to load the malformed URL where the plugin base path is
   prepended to an already full URL. I think what’s going on is that the helper 
   function Util::getPluginAssets used in register_frontend_styles already returns
   a complete URL.
 *     ```wp-block-code
       $css_common_file = Util::getPluginAssets('css', 'sb-youtube-common');
       ```
   
 * However, the code in SBY_Elementor_Base.php then tries to build the URL again
   by prepending SBY_PLUGIN_URL . ‘css/’ to that result ($css_common_file) and then
   becomes broken.
 *     ```wp-block-code
       wp_register_style(	'sby-common-styles',	SBY_PLUGIN_URL . 'css/' . $css_common_file,	array(),	SBYVER	);
       ```
   
 * The end result is that it inadvertently creates and tries to loads 2 broken links
   which slow down the website rendering while waiting for a timeout. 
   There’s also
   a potential secondary issue noticed that the enqueue used in the first part is
   using sby_common_styles (with underscores) but then registering later on as sby-
   common-styles (with hyphens)
 *  Plugin Support [Smash Balloon Louis](https://wordpress.org/support/users/smashballoonlouis/)
 * (@smashballoonlouis)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/enqueue-bug/#post-18849672)
 * Hi [@sightfactory](https://wordpress.org/support/users/sightfactory/),
 * Thanks for your update here! I checked on this with our development team, and
   they have let me know that we have a fix for issue that will be published soon
   in an update to the plugin.
 * Thank you again for your detailed report, and please let us know if you have 
   any other feedback or questions.
 * Best regards,
   Louis

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fenqueue-bug%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/feeds-for-youtube/assets/icon-256x256.png?rev=2700809)
 * [Feeds for YouTube (YouTube video, channel, and gallery plugin)](https://wordpress.org/plugins/feeds-for-youtube/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/feeds-for-youtube/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/feeds-for-youtube/)
 * [Active Topics](https://wordpress.org/support/plugin/feeds-for-youtube/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/feeds-for-youtube/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/feeds-for-youtube/reviews/)

 * 5 replies
 * 7 participants
 * Last reply from: [Smash Balloon Louis](https://wordpress.org/support/users/smashballoonlouis/)
 * Last activity: [2 months, 3 weeks ago](https://wordpress.org/support/topic/enqueue-bug/#post-18849672)
 * Status: resolved