How to get rid of Error

Hi,

I would like to know how to get rid of an Error (see screenshot below) and suggest not to use that approach in further UNA releases since this isn't actually an Error. My suggestion is that there where now Error is there should be nothing since there is already explanation "Access denied....."

vq7jk9ngcbbg4lzyazfnwb4tukhmw86h.png

It is annoying and strange for a visitor (not logged in member) of the site to see all those Error signs all over the site. Who likes pages with Errors?? Further more this "Error" looks very ought if content of someone's una page is shared to other social platforms like FB, Twitter page

So, how to get rid of it?

  • 500
  • More
Replies (4)
    • Kinda solved:

      I've removed translation in Polyglot for key _Error and it is not shown there any more but I think this is not correct way to get rid of that Error described above. I wonder where else would be missing now, I mean it wouldn't be OK if it will now be missing somewhere where actual Error appears ....

      • Hello Mayki !

        Yes, this is not a proper way. But if you need to correct it by the right way it will require to know PHP and redeclare the displayAccessDenied and / or displayMsg method in your own Template.php file.

        • LeonidS thank you for explanation.
          I am not that good in PHP coding and I will stay in my "not proper" solution for now and I hope una developers ( Andrew Boon , Alex T⚜️ , Alexey ....)   will noticed this discussion and change that in next/future release of UNA

          🙏

          • Could you please describe how to reproduce the problem ? For me this page looks a bit different:

            Login or Join to comment.