News Archive problems for users

Good day.
Site https://ivanof.net/photos/
Go to Archive - > News - > select data. If I go with admin rights - all OK, I can see news from selected data, but if go with user rigths - view ALL news list https://ivanof.net/photos/news/archive/2021-09/

Comments

  • At PHOTO archive all OK - with users rights I can see photo at selected date.

  • acrylian Administrator, Developer

    Sorry, I cannot reproduce that. It works as intended on our demo for example. Please review the logs for any errors.

  • Debug-1:

    {3239:Sun, 09 Oct 2022 09:13:19 GMT}

    EXCEPTION (0): Call to a member function getDateTime() on null в /home/t/timothy/ivanof.net/public_html/photos/zp-core/zp-extensions/flag_thumbnail.php строка 141

    {24168:Sun, 09 Oct 2022 10:49:56 GMT}

    EXCEPTION (0): Call to a member function getDateTime() on null в /home/t/timothy/ivanof.net/public_html/photos/zp-core/zp-extensions/flag_thumbnail.php строка 141

    {28700:Sun, 09 Oct 2022 15:11:43 GMT}

  • acrylian Administrator, Developer

    I fear that will not help as that plugin is not involved in the news articles at all.

    Besides, the actual line of that exception btw would probably be line 198. No idea why that could happen.

  • acrylian Administrator, Developer

    Could you switch the site to the native English? Just in case for some unknown reason the the language setting causes any trouble.

  • I switch to English...
    Tap "May 2020", at link https://ivanof.net/photos/news/archive/2020-05/, but I see news from "30 September 2021 17:26"...
    At admin rights all OK

  • acrylian Administrator, Developer

    Weird, it's now always the same article no matter what year/month I select. Without being able to reproduce it is hard to help… You can try here https://demo.zenphoto.org/ to see that it actually works… So something must be different on your server.

    What is your server setup? Did the ZP setup process warn about anything?

  • No warm at setup

  • acrylian Administrator, Developer

    One thing it could be is the static_html_cache plugin. Try to disable it and see if it works then. It might be that you just get the initial news archive page from cache so it is always the same. We have to look if that is a bug on our end or if an plugin option is not set correctly.

    Also please be aware that the tidy assets plugin is not official and know to cause issues. Not related to this but other issues. It is normally not really necessary to be used.

  • MaxIvanov Member
    edited October 10

    It's really helped!
    I uncheck static_html_cache plugin and ALL WORK!
    Thank you very well!

  • acrylian Administrator, Developer
    edited October 10

    Great! Unless you are expierencing lots of traffic and speed issue you might not need the cache.

    However it might be an issue with the cache as the news archive is served via the news.php page. It is probably cached wrong.

Sign In or Register to comment.