Site load for 15 seconds doing setInterval

Posted in: Newspaper
Post count: 8

Hello support,

My install and customizing of the Newspaper theme went well and the site is now live. But I have a strange behaviour.
The page load indicator keeps running (the one in place of the favicon in firefox) for about 15 seconds.
Looking in Firefox in the Performances I see many calls to setInterval from tagdiv_theme.min.js line 311.

I would like to get rid of this bug and can’t found what’s going wrong here. Could you help please?

  • This topic was modified 8 years by lafber.
  • This topic was modified 8 years by lafber.
Post count: 23312

Hello lafber,

Ensure that you are using the latest version of the theme installed via FTP way, use only the required plugins and remove all of untested, clear all the caches and check the results. The system status parameters should have to be increased according to our documentation from here -> https://forum.tagdiv.com/requirements-for-newspaper/

Thanks for your understanding!

Post count: 8

Hello Catalin,

I’ve upgrade the theme to 8.8 (themeforest-5489609-newspaper-wordpress-theme.zip).
Upgrade WordPress to 4.6.9
Upgrade tagdiv composer

Upgrade system status parameters to max_input_vars = 5000

Issue still there.

Desactivate each plugin cumulative and event tagdiv composer and issue still there.

Don’t think it is related to any of these as it is js stuffs. Looking at the line in question and setInterval at line 313.
tdEvents.resize_event_medium_run&&(tdEvents.resize_event_medium_run=!1,tdSmartSidebar.td_events_resize(),tdCustomEvents._lazy_callback_resize_100())},100);setInterval(function(){tdEvents.scroll_event_slow_run&&(tdEvents.scroll_event_slow_run=!1,td_events_scroll_scroll_to_top(tdEvents.scroll_window_scrollTop),td_more_articles_box.td_events_scroll(tdEvents.scroll_window_scrollTop),tdCustomEvents._lazy_callback_scroll_500());tdEvents.resize_event_slow_run&&(tdEvents.resize_event_slow_run=!1,tdAffix.compute_wrapper(),

  • This reply was modified 8 years by lafber.
Post count: 23312

Hello lafber,

Please try to make a new fresh install to another subdomain for testing, clear all the caches and check the results.

Thanks for your understanding!

Post count: 8

I already have a test subdomain.
I’ve experimented some stuffs :
– uninstall my theme (sound radar)
– reinstall it > no more bug
– import my theme configuration > bug came back
– reset the theme in the theme panel import export > no more bug.

So there is something in the customizing of the theme panel that break it. I’ll put them back one by one found the one that bug and come back to you.

Post count: 8

OK I found the bug.

Mirroring each settings one by one I finally get it.

I had an image define in Background > Mobile menu / search background > Background Image that was pointing to an ip address and an image. I guess some rest of test at the beginning.
I delete it and everything came back to normal.

Post count: 20688

Hi,

Yes, some demos when installed will try to load local images. be sure to check the theme panel after installing a demo and remove/replace the demo images with your own. Sorry for the inconvenience.

Please let us know if you have more questions.
Thanks

Post count: 8

It is fixed now anyway and documented for others customers.
Maybe changing the title of the post would be nice … cause setInterval is not the issue here 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.