• Resolved thoskam

    (@thoskam)


    I cannot get the weather widget to update – it continues to show 36 degrees for the one particular location. If I change the location it gives me the correct weather – but if I revert back to the preferred location it shows 36 degrees again. Even if I use the short code on a temp page I get 36 degrees when I set that page. As far as I can tell there is no caching plugin installed and I don’t think our host is caching although I can’t verify that.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • I have the same problem…does not give current conditions.

    Plugin Author Weather Atlas

    (@weatheratlas)

    Hello,

    It’s usually a caching issue.
    Many webmasters claimed that pages are not being cached, but some (SEO for example) plugins have cache settings hidden or turned on by default.

    Just to make sure the caching is not a problem – can you please, temporarily, set the widget to be seen on other pages. In footer perhaps?

    And then visit random pages, that will start caching the first time you visit them.
    If there’s a difference between a home page (that is already cached), and newly visited/cached page – then it is a caching issue.

    If not – we’ll keep investigating…

    Plugin Author Weather Atlas

    (@weatheratlas)

    Another indicator it is some issue within the web site – is that you can go to some other website with the Weather Atlas Widget,
    like https://swimtca.com/ and try to find the Weather forecast for location “HUNTINGBURG”
    The widget from the default “EAST SONORA” shows “HUNTINGBURG” weather forecast, different from the forecast that is being shown.

    Please try to investigate the issue within your web site some more.

    Also, try to Deactivate / Activate the plugin.
    And re-installing the widget should be on the to-do list, afterward.

    I’ve a similar issue, it continues to show 38 degrees not current temperature. I have it set to display 3 days. It’s always showing Wed, Thu & Fri no matter which day it really is.
    It’s displayed in the footer on each page. I’ve looked at each page and it’s the same everywhere, so caching may not be the issue here.

    Plugin Author Weather Atlas

    (@weatheratlas)

    Hello,

    In 99% – the caching is the cause of the widget not updating.
    The pages are not generated but delivered from the cache (as pages’ content is not changed) and the weather widget is bundled within a page so it does not try to retrieve updated data.

    Please try to create a new – test page with the widget in a sidebar or in an article, and let us know of the results.

    Also, please try to detect the cause of the issue following advice from this thread.
    (like trying to Deactivate / Activate the plugin and check if the forecast has changed)

    Hi.. experiencing the same issue… if I deactivate the plug in it disappears, when I activate it is updated… so it is a caching issue… but I have no caching plug in and no caching setting I am aware of – so how do I go about finding where this is happening?

    Any ideas?

    Thanks

    Also – clearing the cache on my browser makes no difference

    Plugin Author Weather Atlas

    (@weatheratlas)

    Hello,

    clearing the cache of the browser does not help if WordPress is serving cached pages.

    If de/activating widget updates the widget’s data, then it is WP settings / Caching plugin issue.

    If there is some SEO (with possible hidden caching option) or Cache plugins enabled – please try to disable them, change the location, and then check if the widget’S data is updating.

    If you are sure that there’s no SEO/Cache plugin’s issue try to fix by setting cache to FALSE:
    define( 'WP_CACHE', false );

    https://codex.www.ads-software.com/Editing_wp-config.php#Cache

    Cache
    The WP_CACHE setting, if true, includes the wp-content/advanced-cache.php script, when executing wp-settings.php.

    And please let us know of the results of the experiments

    Yes – if I deactivate the widget and then reactivate it updates – so there is some caching going on somewhere…. but for the life of me I cannot figure out where….

    Plugin Author Weather Atlas

    (@weatheratlas)

    Hello,

    have you tried to try to fix the issue by setting cache to FALSE?

    define( 'WP_CACHE', false );

    https://www.ads-software.com/support/article/editing-wp-config-php/#cache

    Turning off caching will harm the SEo/speed of the site. That’s the whole idea of caching, to make things faster.

    Well, Chuck I have had the same problem. In fact I used a premium weather widget (Astero Weather) and never could get it to work. It definitely is a caching problem of some kind, but even the folks at Astero could not tell me what the problem was. I use cloudflare plus WP Rocket. Was frustrating, because I like the concept but neither Astero or Weather Atlas worked out for me.

    Plugin Author Weather Atlas

    (@weatheratlas)

    Hello,
    Who would have thought that?

    Joking aside, yes, caching is a useful tool, if it’s used correctly.
    If caching has long TTL – ”faster displaying website’s pages” has huge drawback – not displaying the freshest content (until the updated page is created and cached)

    If you use caching the correct way (with short TTL) it would take a load from the server by displaying cached page to multiple users, but it would frequently recache, to display the freshest content.

    If you can set TTL – great.
    If not – the page is probably cached until the article is updated and the cache is regenerated.
    In this case everything in the sidebar (like most read articles list etc. including the weather widget is not updated)

    I haven’t got a clue what you are talking about….just an amateur here…which is why I use WordPress in the first place.

    Plugin Author Weather Atlas

    (@weatheratlas)

    Hello,
    Using the WordPress saves you from coding, but not from making decisions – how the website should be set up.

    Please read the first few sections of the articles, to grasp the concept of the website’s page caching

    https://mobilunity.com/blog/pros-and-cons-of-wordpress-cache-plugin/

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Can’t get widget to update’ is closed to new replies.