Categories Not Showing on Mobile

I just noticed that categories entries are not showing on mobile phone display even though they’re showing on the computer. I’m not sure how to fix this new issue.

See following page as an example: https://www.2foodtrippers.com/category/destinations/asia/india/

Thanks in advance for your help!

Hello @mindihirsch,

Thanks for posting in!

I just checked the category page and it is also not displaying the post items even on desktop screen. Does this happened right after you have updated X theme and Cornerstone to X7.1.2 and Cornerstone 4.1.2? After doing the updates, always remember to clear all caches since you have installed Autoptimize plugin so that the code from the latest release is always in use. This will help you to avoid any potential errors.

And please clear your browser cache too. You may use private browsing mode in testing your site to make sure that you are viewing the latest codes from the updates and not the cached version in your browser.

Best Regards.

Thanks for your response and guidance.

Yes, this is a new issue since I recently updated X theme and Cornerstone.

All caches on my site have been flushed including Autoptimize. The category pages are still not working.

For some reason, jQuery library is not loading properly (or gets unloaded).

The following console error is on my category pages: Uncaught ReferenceError: jQuery is not defined at (index):6

This never happened before the recent updates. How can I fix this issue?

Hello @mindihirsch,

To better assist you with your issue, kindly provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Thanks.

Hi Again @mindihirsch,

We haven’t check your site yet because the given username or password is incorrect.
Can you please double check?

Thanks.

Hi @mindihirsch,

Bingo! the issue is only happening when the viewer is not login (regardless if in desktop or mobile) and most of the time this is a caching related. So I cleared your Autoptimize caching plugin but It did not work, and then I clear/flush your Redis Object Cache and that resolve the issue.

If the issue is still happening on your end, please clear your browser’s cache.

Cheers!

Thanks for the help but category pages still don’t work on mobile view. We can see the following errors just on mobile:

(index):6ReferenceError: Can’t find variable: jQueryglobal code @ (index):6
(index):33ReferenceError: Can’t find variable: jQueryglobal code @ (index):33

How can we fix this?

Hi @mindihirsch,

That’s the same error we are seeing on desktop, I’ve cleared the Autoptimize and Redis Object Cache plugin and deactivate it for now, the category page posts grid works now on desktop and mobile.

If the issue persists on your end, please clear your browser’s cache or try accessing that page with ?nocache on the URL.

e.g.

https://www.2foodtrippers.com/category/destinations/asia/india/?nocache

Also, please contact your hosting, they might have internal caching going on as well.

Thanks,

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.