Wrong date on featured news widget?

Home Forums GovIntranetters Wrong date on featured news widget?

Viewing 10 reply threads
  • Author
    Posts
    • #3114
      Avatar photoDavid Butt
      Participant

      The last two news items I’ve published have 16 September 2016 showing as the date on the homepage – using the featured news widget – rather than the date they were published. The dates show correctly when you open either item to show the individual details. There’s a screen dump attached.

      I’ve deleted the cache (we use WP Super Cache) and also experimented with cache duration in the widget – now set back to ‘0‘.

      We’ve just upgraded from 4.34.8.1 to 4.34.12.2 – which happened immediately before the publication of the first item showing the issue. We’ve also upgraded ACF pro from 5.5.9 to 5.5.14.

      Am I missing anything obvious? Probably.

      Cheers

      Attachments:
      You must be logged in to view attached files.
    • #3117
      Matty
      Member

      Hi David

      I think this highly unlikely but what does the publish date say in the back end of the news items?

    • #3118
      Avatar photoDavid Butt
      Participant

      Hi Matty – thanks for having a think about this. Unfortunately, it shows the right date and time in the backend. So the backend thinks nothing’s wrong – only the homepage is showing the date wrong. Even the frontend item page shows it right.

      Cheers

      David

      Attachments:
      You must be logged in to view attached files.
    • #3120
      Matty
      Member

      Ah okay so the issue is limited to the news feature widget only and everywhere else it displays correctly?

    • #3121
      Avatar photoDavid Butt
      Participant

      Hi Matty – yes, that’s right. That’s why I’m *really* scratching my head.

      D

    • #3122
      Matty
      Member

      Definitely a head scratcher.

      I’m just wondering if you’d be able to turn back ACF to the previous version you had installed before the upgrade?

      May not be but there was an issue in the past regarding dates and would be keen to know if it is related

    • #3123
      Avatar photoDavid Butt
      Participant

      Hi Matty – another good thought.

      So, I’ve just got the ‘old’ ACF plugin from the zip file and put it back on the site, replacing the ‘current’ ACF plugin folder. WordPress then reported it as having 5.5.9 installed rather than 5.5.14. Still no joy, I’m afraid. I’ve now swopped it back with the latest version.

      And odder…

      You also made me think. So I did the same with the feature news widget – restoring the old version back. And again, it still showed the wrong date…and I checked I’d cleared the cache…and I swapped it back.

      But worse…that made me think even more.

      I’ve solved it but I don’t know why it worked. By changing the clock date format on the server – we run it on Windows Server. I changed it from MM/D/YYYY (I didn’t build it, OK?) to DD/MM/YYYY. A new news item then worked perfectly leaving the old two as wrong. I’m not sure if this actually did it because that makes no sense as it was right and then wrong without the date format having been changed on the server.

      Who knows? But thanks for getting involved.

      D

    • #3124
      Matty
      Member

      I think we have encountered a glitch in the matrix there David. Glad to hear it’s working now though

    • #3125
      Avatar photoDavid Butt
      Participant

      So, ignore the last bit. Changing the clock date didn’t make the difference. There was another change I hadn’t considered.

      We’d also just started using the spots widget. We’d never used it before. Put two spots in two posts – worked perfectly (thrilled) but those two posts then had the wrong date. Remove the spots from the posts and date corrects itself. Put either spot back in and the date goes haywire – but only in the featured news widget…

      Go figure.

      Is anyone else using spots?

    • #3135
      Luke Oatham
      Keymaster

      There are some updates coming soon in v4.35 that might help with the news widget.

    • #3147
      Avatar photoDavid Butt
      Participant

      Hi Luke –

      You’ve sorted it.

      Thanks (again).

      D

Viewing 10 reply threads
  • You must be logged in to reply to this topic.