• Resolved karthik471

    (@karthik471)


    Hi,

    I started getting errors in console regarding the missing CSS file.

    	public function register_frontend_styles()
    {
    $sby_pro = !sby_is_pro() ? '-free' : '';
    wp_register_style(
    'sby-styles',
    SBY_PLUGIN_URL . 'css/sb-youtube'. $sby_pro .'.min.css',
    array(),
    SBYVER
    );
    }
    add_action('elementor/frontend/after_register_styles', [$this, 'register_frontend_styles'], 10);

    this function generated stylesheet by the name sb-youtube-free.min.css, but in the CSS folder there was no file by these name. As a result it generated the missing CSS file error in the console. Currently I had commented the action hook and it solved the issue as of now. But is there any other way to remove or eliminate this error?

    Thanks

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

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

    (@smashballoonlouis)

    Hi @karthik471,

    Thanks for letting us know about this! Could you confirm if are updated to the most recent version of the free plugin (?2.2.1)? Also, please let me know if you’re seeing this error on the front-end on a page with the feed added, on the backend while editing a feed, or both.

    We’ll investigate this issue further.

    Thanks!
    Louis

    Thread Starter karthik471

    (@karthik471)

    Yes, the plugin is updated to the recent version.

    Currently the error in shown in the console of every front end page of the website.

    Check the image for more details : https://www.imghippo.com/i/bAa761718862858.jpg

    Plugin Support Smash Balloon Louis

    (@smashballoonlouis)

    Hi?@karthik471,

    Thanks for confirming that information and sharing the screenshot of the error. I have shared this with our development team and they will investigate this and include any necessary fixes to a future update to the plugin. Thank you for bringing this to our attention, and if you have any other questions in the meantime, please let us know.

    Best regards,
    Louis

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.