Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    There’s a javascript file on your site that isn’t loading which may be the cause of the ticker script not firing. I’m seeing the following in the browser developer tools:

    Failed to load resource: the server responded with a status of 403 (Forbidden): https://tympanus.net/Development/Slicebox/js/jquery.slicebox.js?ver=5.3.2

    If you are not sure where this file is attempting to load from, please run through the following article to see if you can pinpoint a plugin or theme that causing the javascript issue: https://www.metaphorcreations.com/article/test-plugin-conflicts/

    Let me know what you find out. Thanks!

    Plugin Author metaphorcreations

    (@metaphorcreations)

    I am also seeing this error:

    jQuery.Deferred exception: $(...).ditty_news_ticker is not a function

    Do you have a plugin on your site (or your theme) that is setting external scripts to load deferred? If so, you’ll need to disable this for the ditty_news_ticker script, since the script needs to load before the code for the ticker is triggered.

    Please reference the article mentioned earlier to see what may be causing this to happen.

    Thread Starter elieobeid7

    (@elieobeid7)

    jQuery.Deferred exception: $(…).ditty_news_ticker is not a function

    I am not seeign that error, could you please let me know where is it? I don’t have plugins that defer on that subdomain

    I removed slicebox, still ditty is not showing

    Plugin Author metaphorcreations

    (@metaphorcreations)

    You need to open the browser’s developer tools https://www.lifewire.com/web-browser-developer-tools-3988965

    Then, click on the console tab. This should show javascript errors, and even image or links that haven’t loaded.

    I’ve taken another look at your site and am seeing 2 versions of jQuery being loaded, and both in the footer. Your site should only be loading the default version that comes packaged with the WordPress and it should load in the header of your page. This could definitely be what is causing the issue.

    The default version is being loaded here https://dev.themigrantproject.org/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp

    But, below that your site is also loading jQuery from: https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js?ver=5.3.2

    Either your theme or one of your plugins is loading this version. Please run through https://www.metaphorcreations.com/article/test-plugin-conflicts/ to track down the source. There should also be some way to keep the packaged jQuery to stay in the head of your pages. You may have a cache plugin that gives you the option to load it in the footer, which is why it may be there.

    Just for reference, WordPress sites should only load the packaged version of jQuery and never load other versions. It’s the only way developers can be sure that their scripts run smoothly since different versions can behave differently. In addition, having jQuery loaded twice, even if the same version, can have adverse affects on your site. I know that some plugins give you the option to load newer versions, or even require it for their functionality to work… which may be good for that plugin, but not for others.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘News ticker isn’t showing’ is closed to new replies.