• Hey guys, the following error is showing:

    function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}function (e){return o.call(this,e,d)}

    Here’s a screenshot: http://i.imgur.com/bp8ONIY.jpg

    Here’s a link:

    It doesn’t always occur; it happens about 80% of the time.

    https://wordpress.org/plugins/wp-store-locator/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    I never seen that error before.

    Can you try and switch to a default wp theme for second, and see if that makes a difference?

    If not, try to disable other plugins one by one, and see if you can find the plugin that breaks the store listing.

    If you find it, then let me know the name of the plugin. Or if you can provide me with a list of plugins that you are using, then I can see if I can replicate the problem.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Another thing you can try is search through the plugin / theme folder for this code ‘function (e){return o.call(this,e,d)}’, and see if it finds anything. If it finds a hit in plugin folder x, then we know which plugin it comes from. It doesn’t return any hits for the wp store locator folder.

    Thread Starter BlackLionDigital

    (@blackliondigital)

    Tijmen, thank you SO much for getting back to us so fast!

    It turned out to be Google Tag Manager, here is the code that is screwing it up:

    <!-- Google Tag Manager -->
    <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-52DPBW"
    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-52DPBW');</script>
    <!-- End Google Tag Manager -->

    For this particular page, I’ve added an If statement to remove that code. This is a temp fix hopefully, as we would like to track this page with Google Tag Manager. Do you have any idea why it would be conflicting and how we can find around it?

    Thank you once again, you’ve been great!

    Plugin Author Tijmen Smit

    (@tijmensmit)

    I never done anything with Google Tag Manager, but I will create an account tomorrow and get some testing code myself so I can replicate it.

    The store listing is rendered with http://underscorejs.org/, but a quick search on Google for conflict with Google Tag manager shows no results.

    Thread Starter BlackLionDigital

    (@blackliondigital)

    Ahhh no problem mate.

    We’re happy to pay you some money to get a fix, as we’d love to use your plugin for future projects and the conflict with Tag Manager may stop us.

    Feel free to email me at jared@blackliondigital.com

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error Occurring where Stores are listed’ is closed to new replies.