• Resolved bubbapark

    (@bubbapark)


    Hello everyone,

    The slider will not load images on my site newpointservices.com. I have tried everything I can think of to get the images to load (deactivated all plugins, deleted and reinstalled child them, ex.) without success. Any help in this matter would greatly appreciated.
    Kind regards,
    Bubbapark

Viewing 14 replies - 1 through 14 (of 14 total)
  • Did you try clearing Cache? Are you using any Caching plugin?

    Thread Starter bubbapark

    (@bubbapark)

    I just activated WP Super Cache and cleaning all cached files. The slider is still not loading.

    I have tagged for the Developers to take a look.

    If it helps, it looks like Javascript is hanging due to a missing “localization” variable in Customizr . Typically localization refers to language and translation, maybe check plugin or site language settings while developers investigate.

    Hello Tyler, Localization? Do you mean “BrowserDetect” ? It’s not a localization variable.

    bubbapark.
    It’s not just the slider which doesn’t work, all the theme’s js is broken.
    Also the fancybox js is missing despite you have the related options enabled.
    Unable to reproduce your issue, which is 99% due to some caching plugin or similar.
    what’s ?
    <!-- Performance scores of this site is tuned by WP Performance Score Booster plugin v1.3.1 - https://www.ads-software.com/plugins/wp-performance-score-booster -->

    Anyway it’s not a theme itself issue.

    That was my best guess at what “TypeError: undefined is not an object (evaluating ‘c.localized._disabled’)” was referring to. BrowserDetect would also use variable names like that, you’re right.

    The offending script originates when the function loadCzr fires in tc-scripts.js – that appears to be Customizr causing a problem – it’s looking to see if the variable “c.localized._disabled” is set but it claims localized._disabled isn’t valid and hasn’t been declared yet.

    Here’s the GitHub for that plugin:
    https://github.com/presscustomizr/customizr/search?utf8=?&q=localized._disabled&type=Code

    In that case, localized is actually probably referring to the use of wp_localize_script() in PHP, namely – the Javascript is set to accept variables that WordPress localizes into Javascript.

    * Constructors and methods can be disabled by passing a localized var TCParams._disabled (with the hook ‘tc_disabled_front_js_parts’ )
    193 * Ex : add_filter(‘tc_disabled_front_js_parts’, function() {

    I haven’t got much farther than that yet. d4z_c0nf – you might be onto something with Modernizr or missing JS files – I’m not really used to working with FancyBox, just adding to the conversation.

    Hope this helps!

    Tyler, your was a good guess, I just was informing you (hence bubbapark who’s having the issue and is looking for a reason) that, sadly, it’s not right :). ‘BrowserDetect’ has nothing to do with the localization:
    https://github.com/presscustomizr/customizr/search?utf8=%E2%9C%93&q=BrowserDetect&type=Code

    Most likely that’s the line which fails is:
    $.extend( czrapp.methods.BrowserDetect = {} , _methods );

    So for some reason this -> czrapp.methods looks to be undefined in the user’s site

    About fancybox and other things .. it was an observation I made looking at the user’s home source html, which made me think there’s some caching problem, looks like the page isn’t correctly loaded, there’s something missing there.

    Have a great day.

    You should be loading:
    https://newpointservices.com/wp-content/themes/customizr/inc/assets/js/tc-scripts.min.js

    But you’re loading:
    https://newpointservices.com/wordpress1/wp-content/themes/customizr/inc/assets/js/tc-scripts.min.js

    //wordpress1 id a completely separate site.

    Update:
    Different folder, but there doesn’t appear to be a different WordPress Install there. Not sure if that’s the issue, but it’s a lead! A bunch of script points to that wordpress1 folder.

    I wasn’t offended – I’m fully aware that I’m making educated guesses. I’ve never really worked with this theme ??

    I think d4z_c0nf is right on this one. That path is probably right otherwise a lot of ther things would’ve broke/

    d4z_c0nf, would you think running updates would clear out the issue?

    Thread Starter bubbapark

    (@bubbapark)

    Thanks everyone for the help. I greatly appreciate the insight.

    Theme Author presscustomizr

    (@nikeo)

    @d4z_c0nf : do we still have an issue-candidate here ? (don’t think so, just checking)

    @nikeo:
    I don’t think so, that should be something related to a server side caching system. The user’s src was weird somewhat incomplete, like a mix of old and new theme’s versions.
    Ops, it still is:
    view-source:https://newpointservices.com/
    look at TCParams ..
    it’s not normal (the new normal)
    and fancybox js not enqueued despite the params says it’s enabled?
    I don’t think it’s a theme issue anyway.

    Hi. I just encountered the same problem. Is there any way I could go back to a previous version of the theme?

    Hi, I also have the same problem, but with jquery easy ticker not executing on https://www.osaonline.it . Here is the chrome console report about the error:

    Uncaught TypeError: Cannot read property ‘BrowserDetect’ of undefined(anonymous function) @ tc-scripts.min.js?ver=3.4.18:3
    s.each.s.forEach @ tc-scripts.min.js?ver=3.4.18:2
    a.extend.loadCzr @ tc-scripts.min.js?ver=3.4.18:3
    (anonymous function) @ tc-scripts.min.js?ver=3.4.18:3
    j @ jquery.js?ver=1.11.3:2
    k.fireWith @ jquery.js?ver=1.11.3:2
    m.extend.ready @ jquery.js?ver=1.11.3:2
    J @ jquery.js?ver=1.11.3:2

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Customizr slider will not load image’ is closed to new replies.