Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #1191355

    Hey guys,

    I’m not very savvy when it comes to code so bare with this explanation. As the title suggests, Updating Enfold has killed code within our site.

    To give a rundown, we use code from another company who look after our vehicle inventory & to display our vehicles on our site.
    Everything works perfectly on but once updating to 4.7.3 things stop working at all.

    It varies from super slow load speeds to not loading at all. sometimes it works but then if you leave the page and go back it stops working.
    This is only on our VEHICLES page. NOT the VEHICLES DETAIL page.

    The only thing I’ve changed between the working site and the staging site is the update.
    The website which works is: https://www.4guys.co.nz/vehicles/
    The staging which does not is: https://fearless-berry.flywheelstaging.com/vehicles/

    Any ideas at all? This is the code we use inside the ‘Code Block’

    <div id=”apsr_placeholder”></div>
    <script type=’text/javascript’ src=’https://apsr.autoplay.co.nz/Content/js/loader.search.min.js?v=” + (d.getMonth() + 1) +”” +  d.getDate() + “‘></script>

    <script type=”text/javascript”>
    config.ID = “75”;
    config.Framework = “css-search-percentage”;
    config.Theme = “”;
    config.PercentageFrame = true;
    config.DetailUrl = “vehicle-details/”;


    Hey 4Guys Autobarn,
    When I check your site I see the error:

    Uncaught TypeError: Cannot read property 'insertBefore' of null at a.yepnope.injectJs modernizr.min.js


    Search engine failed to load. Refresh page or try again. Cause: Run is not defined

    I recommend ensuring that Enfold Theme Options > Performance > Load jQuery in your footer in not enabled and that no other caching or minifying plugins are loading your jQuery in the footer.
    Otherwise, it looks like a issue with your script.

    Best regards,


    Thanks for the reply Mike,

    Do these errors appear on both sites? Sorry, I’m limited in my knowledge of all this.
    Load JQuery in the footer was NOT enabled and no other caching plugin is installed.

    Again, forgive my limited knowledge. But would there be a reason why the script would work on an older version of Enfold and not the updated version?


    The error doesn’t seem to be occurring on both sites. The error could be a curly quote in the code, or in a different script.
    Please try disabling your plugins and checking that your script was copied correctly from your other vendor.
    Otherwise, can we have an admin login to your stagging site and try disabling things to try to isolate the issue.

    Best regards,


    Ok so I’ve redone the staging of our main site and the ONLY thing I’ve changed is updated WordPress.
    I’ve added the admin login to the stagging site bellow. Cheers!


    Thank you for the login, I see in your “site health” you have a “Rest API” error:
    Error: [] cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received
    This is typically a server issue, this article suggests some possible solutions or this one.

    Best regards,

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.