My Essential Grids are suddenly only showing after refreshing a page. Can you figure out if I’ve done something wrong in the coding?
Hi @svenbiesterbos,
Thank you for writing in, please clear all your caching features (plugin, server-side, CDN, and browser’s cache) after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.
And do you have changes before that affects your posts? (e.g. taxonomy name change), if so please reflect these changes to your Essential Grid setup as well.
Cheers!
Hi Friech,
Thanks for the response.
Unfortunately, this isn’t working…
I tried all of the above. And what update are you talking about?
Best,
Sven
Hello Sven,
Can you please remove this custom code in the X > Theme Options > Custom JS section because it is causing an error on the page:
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = 'https://connect.facebook.net/nl_NL/sdk.js#xfbml=1&version=v2.11';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
To properly place this code into your site without affecting other site features or generating any errors on the page, please check out these threads:
Best @RueNel,
I can’t find this code? In my Custom JS is no code…
If you can delete it, please go ahead.
Hello Sven,
The code was added in your Global Footer’s custom JS section. I already have removed it.
There is still remaining JS error:
VM3000:4 Uncaught TypeError: jQuery(...).tpessential is not a function
at HTMLDocument.<anonymous> (<anonymous>:4:37)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.add [as done] (jquery.js?ver=1.12.4-wp:2)
at a.fn.init.n.fn.ready (jquery.js?ver=1.12.4-wp:2)
at <anonymous>:3:18
at CookieControl.Cookie.dequeueNonAsyncScripts (uc.js:1)
at CookieControl.Cookie.dequeueNonAsyncScripts (uc.js:1)
at CookieControl.Cookie.dequeueNonAsyncScripts (uc.js:1)
at CookieControl.Cookie.dequeueNonAsyncScripts (uc.js:1)
at CookieControl.Cookie.dequeueNonAsyncScripts (uc.js:1)
Could you please check the following threads to resolve this:
- https://theme.co/apex/forum/t/essential-grid-javascript-error-solved/32537
- https://theme.co/apex/forum/t/essential-grid-not-working-again/48057
Please let us know how it goes.
Hello @ruenel,
Thanks for removing the code.
I have no knowledge about JS at all, so this is a big question for me. Can this be caused by my Cookiebot?
I think the problem was in the automatic cookie blocking provided by Cookiebot. I changed this to a manual setting and I think it’s now resolved. Is there no error anymore?
Hi @svenbiesterbos,
I can confirm there’s no more error. Essential grid is loading right away on your homepage and there’s no error on the console.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.