8: Trying to access array offset on value of type null - Security.php

Started by aswuser, August 14, 2022, 12:11:52 PM

Previous topic - Next topic

aswuser

I am trying to troubleshoot and resolve this error. I have been getting it since recovering from hack which damaged my db. That part is fixed but this error remains.


Backtrace information


File: Security.php (various lines)

URL of page causing the error - various but they are links to attachments.



    #0: smf_error_handler()
    Called from /Sources/Security.php on line 348
    #1: is_not_banned()
    Called from /index.php on line 237
    #2: smf_main()
    Called from /index.php on line 191



What I just noticed is that they are all coming from same IP as "Guest". Could this be the hacker? Should I block the IP?



SMF 2.1.2
PHP Version 7.4.30
MySQL Version    10.3.28-MariaDB-cll-lve
No mods installed in SMF

Steve

Quote from: aswuser on August 14, 2022, 12:11:52 PMShould I block the IP?
I would. At least temporarily. When banning IPs you run the risk of banning legitimate users.
Please do not PM me for support.

Kindred

No ...   the issue has (99.99% chance) nothing to do with a hack at all.

The issue you are seeing is because the data passed in a security check is incorrect, possibly due to a mod.
Сл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."

aswuser

Kindred, Can you please elaborate?

We don't have any modifications installed.

Steve

When he has a chance, this may help him more:

What mods do you have installed? (a list, not an image if possible please)
Please do not PM me for support.


Steve

Please do not PM me for support.

aswuser


Kindred

But you didn't solve the problem...  only delayed it to the next time
Сл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."

Advertisement: