Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Smash Balloon Nigel

    (@nigelrsb)

    Hi @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.

    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/, 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. 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 🙂

    Hi @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.


    $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_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

    (@smashballoonlouis)

    Hi @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 to reply to this topic.