News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

show alerts error - only admins

Started by kokkieblanda, July 10, 2020, 02:26:06 AM

Previous topic - Next topic

kokkieblanda

If logged in as admin and you click on the show all alerts button you get only ab error, regular members do not get this problem. Any idea on how to slove this?
it just started out of the blue a couple of days ago.

Error

    Fouttype: Undefined_vars
    Foutmelding: 8: Undefined offset: 114
    Bestand: /home/xxxx/domains/xxxxxx/public_html/Sources/Profile-View.php
    Regel: 392
    URL of page causing the error: https://xxxxxx/index.php?action=profile;area=showalerts

Backtrace information

    #0: smf_error_handler()
    Aangeroepen door /home/xxxxxxxxxx/domains/xxxxxxxxx/public_html/Sources/Profile-View.php op regel 392
    #1: fetch_alerts()
    Aangeroepen door /home/xxxxxxxxx/domains/xxxxxxxx/public_html/Sources/Profile-View.php op regel 455
    #2: showAlerts()
    Aangeroepen door /home/xxxxxxxxx/domains/xxxxxxxx/public_html/Sources/Profile.php op regel 757
    #3: ModifyProfile()
    Aangeroepen door /home/xxxxxxxx/domains/xxxxxxxxx/public_html/index.php op regel 151


Arantor


kokkieblanda

changed the name of a few boards and deleted one

Arantor

I think that's the problem, it isn't coping with deleted boards properly.

Probably needs to go onto GitHub as a bug before 2.1 is finished.

SychO

Are you using RC2 package or a package from the github repository ?
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

kokkieblanda


SychO

makes sense, the issue was fixed for the next release (RC3).
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

kokkieblanda


Kindred

upgrade to the GitHub version.....
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

kokkieblanda

all files or just Profile-View.php?

kokkieblanda

Thank you, upgrading the file did the trick

Arantor

You really shouldn't upgrade just the one file, now you will likely have other hard to debug issues - either upgrade nothing or upgrade everything.

kokkieblanda

yes i understand, for the moment the file is enough and i'm going to run the upgrade on a test site today

Advertisement: