Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8317395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:35:15+00:00 2026-06-08T21:35:15+00:00

I have a WordPress website which eventually is a streaming radio website. on the

  • 0

I have a WordPress website which eventually is a streaming radio website. on the header i have a script that is pulling streaming data (like listeners count and currently playing) from my Dedicated server’s CP..(Centova Cast)

I registered the script in the function.php:

this is the register

wp_register_script( ’streaminfo’,
‘http://94.23.250.14:2199/system/streaminfo.js’,false,null);
wp_enqueue_script( ’streaminfo’ );

This is the the whole jQuery section for you to review..

/* ------------------------------------

:: INITIATE JQUERY / STYLING

------------------------------------ */

function init_dynscripts() {
    if (!is_admin()) {

        if ( function_exists('bp_is_blog_page')) {
            if (!bp_is_blog_page()) {
                wp_enqueue_script( 'bp-js', BP_PLUGIN_URL . '/bp-themes/bp-default/_inc/global.js', array( 'jquery' ) );
            }
        }

        wp_register_style('northvantage-style', get_bloginfo('stylesheet_url'),false,null);
        wp_enqueue_style('northvantage-style');


        if(get_option('enable_responsive')!='disable') :

        wp_register_style('northvantage-responsive', get_template_directory_uri().'/stylesheets/responsive.css',false,null);
        wp_enqueue_style('northvantage-responsive');

        endif;  

        wp_enqueue_script('jquery-ui-core',false,null);
        wp_enqueue_script('jquery-ui-tabs',false,null);
        wp_enqueue_script("jquery-ui-accordion",false,null);
        wp_enqueue_script("swfobject",false,null);
        wp_deregister_script("jquery-effects-core");

        wp_deregister_script('libertas');   
        wp_register_script('libertas',get_template_directory_uri().'/js/nv-script.pack.js',false,null);
        wp_enqueue_script('libertas');  
        wp_register_script( ’streaminfo’, 'http://94.23.250.14:2199/system/streaminfo.js',false,null);
        wp_enqueue_script( ’streaminfo’ );
        wp_register_script( ’jpie’, get_template_directory_uri().'/js/jpie.js',false,null);
        wp_enqueue_script( ’jpie’ );
        wp_register_style('jpiestyle', get_template_directory_uri().'/jpie.css',false,null);
        wp_enqueue_style('jpiestyle');


        if(get_option('jwplayer_js')) { // Check jw player javascript file is present

        $NV_jwplayer_js = get_option('jwplayer_js');

        wp_deregister_script( 'jw-player' );    
        wp_register_script( 'jw-player', $NV_jwplayer_js,false,null);
        wp_enqueue_script( 'jw-player' );       
        }
    }
}    
add_action('init', 'init_dynscripts',100);


function _remove_script_version( $src ){ // remove script version
    $parts = explode( '?', $src );
    return $parts[0];
}
add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );

It appears i have a conflict between streaminfo.js and my website.
element inspection gives:

Uncaught TypeError: Property ‘$’ of object [object Window] is not a
function

To make things short..everything i tried with the file ended up wrong.

i tried changing every $ sign to jQuery in the file, it eliminate the conflict but created conflicts with other files.

i tried adding

jQuery(document).ready(function ($) {

to the head of the file but it breaks other elements on the CP.

Eventually i ran a simple test and created a webpage with only this code:

<html>
<body>
<span id="cc_strinfo_title_tranceilfm" class="cc_streaminfo"></span>
<script language="javascript" type="text/javascript" src="http://94.23.250.14:2199/system/streaminfo.js"></script>
</body>
</html>

And the page didn’t return any errors. (i did include a path to the google jQuery file)

Something in WordPress is messing up with the jQuery plugin? or some string is missing in my code?

http://www.tranceil.fm

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T21:35:17+00:00Added an answer on June 8, 2026 at 9:35 pm

    try adding jQuery.noConflict() at the top of your document.ready. This will unbind the $ variable, which should get rid of your conflicts.

    In response to our discussion in comments, and to help anyone else who sees this question, here’s a little bit of overview:

    How jQuery and jQuery.noConflicts() work:

    When you load the jQuery library, a variable called jQuery is created, which represents the “jQuery” function. An alias tojQuery , named $, is also created.

    For whatever reason, several other javascript libraries change the $ alias to represent their own functions. When this happens, you have a conflict, as two different things are trying to have control of the $ variable. What jQuery.noConflict() does is unassociates $ with jQuery, allowing whatever else is trying to use $ to use it freely.

    The catch is that now $ doesn’t refer to jQuery, so everywhere you want to access the jQuery object, you need to use jQuery instead of $.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a running website on wordpress which has been hacked, some file were
I have a WordPress website that needs to have its articles in multiple languages.
i have a wordpress based website. I have a standard wordpress loop that executes
Im using wordpress for my website and i have a massive amount of data
I have a Wordpress website in which one of the categories I've stripped the
I have a WordPress website ( abetterworldbydesign.com ) which has user-agent detection to redirect
I have a Wordpress-based website which uses Sphinx as a search engine, with a
I have a wordpress website which is manjeri.net it doesn't show www before the
I have a personal website which built on WordPress . Now, I'm going to
I have a Wordpress based website that I scrap using wget. I have articles

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.