Website not loading images on mobile devices and loading old content

Posted in: Newsmag
Post count: 11

Hello,

We are receiving a Javascript (jquery) error inside of tagdiv_theme.min.js (line 165) that applies only to small-screen devices.

The website does not load images on mobile devices and does not allow the menu to work.

We have reinstalled WordPress, deleted and reinstalled all plugins, disabled all plugins, cleared caches, reintalled the latest theme and nothing is fixing the issue.

Also, since day one of installing the theme, when the website is refreshed on any device, it loads the original content from day one launch. So one year later, it displays the correct content, but when refreshed, the old content appears, including posts/site design/menu.

Please advise.

We also request you make this support request private.

Post count: 9544

Server caching issue, sounds like.
Theme does not control content, only layouts.

Post count: 11

Thanks Chris. Unfortunately, we have already ruled out server caching. Any other ideas?

Post count: 9544

Well… if the old content is not actually there, and your dbase is optimized, and the info shows up on a mobile device, perhaps problem with mobile device cache not cleared.

It’s technically impossible for a site to show defunct content if no longer in dbase as dynamic site, unless it’s been “cached” someplace, like opcache, mod_pagespeed, CDN, Varnish, cache plugin, etc.

Obviously if you load up an old version of site layout, with, say content in old categories, no longer updated, that old content would show up again.

Do you have same issue switching to a default theme, view on mobile device? Then, reactivate this theme, visit again on mobile device?

Have you done normal house keeping like
a) optimize dbase to clear transients, such as with wp-optimize
b) resave permalinks to clear temp WP redirect cache
c) checked your site via FTP to see if you still have a caching folder with cached files
d) checked your htaccess file to see if you have links to cached files or cache redirects leftover from caching system?

All that can possibly be culprit.

Post count: 11

Thanks Chris. We had not run WP Optimize in a while. It appears that after doing so, the old articles/site design has disappeared.

We are still having the issue of images not appearing on mobile devices in regards tagdiv_theme.min.js.

Post count: 9544

You might try my trick in my long winded optimization thread toward the end to load jquery via Google CDN vs local copy. We do that on our newsmag sites.

I had a function for functions.php to unhook local copy and load the CDN copy of jquery.

Mobile is kinda funky, but not having any issues with our sites.

This also presumes you disabled the stupid lazy loading “effect” on your site. ?

Post count: 9544

Might also be a bad plugin that isn’t mobile friendly … so presumably you’ve also tried disabling plugins to see what might cause that?

What is the actual jquery error ?

Post count: 11

Chris, it appears you were correct. That new lazy loading function (which we did not know about) seems to have been the issue. Thanks so much for your help!

Post count: 11

A new issue has popped up after changing the lazy loading settings. The mobile menu does not work!

Post count: 9544

Clear cache and all that stuffin’ again 🙂

Post count: 7909

Hi,

Thanks Chris for your great help! You have the crown!


@tricell
Most probably a plugin conflicts with the theme’s javascript and that’s why you get this issue with mobile menu. I suggest to disable all you plugins except Visual Composer, clear all you caches and purge your files if you use CDN and check again if it the issue persist. If it works please enable your plugins one by one and see which one cause this problem and disable it or try to find an alternative.

Thanks!

Post count: 7

I am having the exact same issue with a fresh install.

Post count: 7

I have tried turning off all plugins, one at a time until they were all off, then ran the wp-optimize tool, for a second time and I am still returning a “This site can’t be reached” error on all mobile devices.

Post count: 11

Turn off lazy loading in the theme panel. It is full of bugs and needs a fix.

Post count: 7

@tricell, thanks. I turned it off and still not having any success. http://outlookohio.com

Post count: 11

Works good for me. I can see all images.

Post count: 7

Did you try any of the pages from the home page? On one device I can open the home and then any other page times out on mobile (android). ios is not working at all.

Post count: 11

Yes they work on my Android phone

Post count: 7

Thanks. I added a new copy of the template. My paws are crossed. Very much appreciated.

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