News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Line: 168 Error - PHP Problem?

Started by efk, May 01, 2021, 09:58:10 PM

Previous topic - Next topic

efk

Does this mean PHP version has been changed? Forum version is 2.0.17, waiting for info about PHP version.

General:  03:21:42
/index.php?action=admin;area=logs;sa=errorlog;desc
8: Trying to access array offset on value of type null
File: /home/name/public_html/Sources/Load.php
Line: 168

Also for me as administrator
General
/index.php?action=admin;area=logs;sa=errorlog;desc
8: Trying to access array offset on value of type null
File: /home/name/public_html/Sources/ManageErrors.php
Line: 129

I found 2 topics where is PHP version mentioned as the reason for this problem, just wanna be sure if hosting changed version PHP
https://www.simplemachines.org/community/index.php?topic=576797.msg4082217#msg4082217
https://www.simplemachines.org/community/index.php?topic=574636.msg4073163#msg4073163


Edit: Modified title slightly to indicate better what the problem is. ~ Steve

Oldiesmann

That usually doesn't have anything to do with the PHP version. What mods do you have installed?

Also you can get your PHP version by going to Admin -> Main -> Support and Credits

efk

We are definitely moved to PHP 7.4, not sure who did it, my friend or hosting.
I already had small spam in logs related to SMF Chess, it gives me similar errors, usually bots are active there but nothing serious. All looks similar to this case - https://www.simplemachines.org/community/index.php?topic=571944.0

1.    SimplePortal    2.3.7    
2.    Log Karma Actions    3.0    
3.    Post History    1.03    
4.    Add [nobbc] button    1.1    
5.    SMF Gallery Lite    6.0    
6.    Countdown BBCode    2.0.2    
7.    Sorted Package Manager Listing    1.2    
8.    Board Viewers Mod    1.2.1.1b    
9.    SMF Chess    2.1.4    
10.    FancyBox 4 SMF    0.5.1.1    
11.    PartyMembers    1.1    
12.    Label for banned members    1.0    
13.    Spoiler BBCode    1.1.3    
14.    Progress Bar BBCode (CSS3 version)    1.2    
15.    @mention members    1.1.2    
16.    InfoBox    0.3    
17.    Avatars on Board/MessageIndex    2.0.17    
18.    Separate the sticky topics    1.0.1    
19.    Country Flags    3.0    
20.    Tagging System    3.0.1    
21.    Last Active On MemberList    1.4    
22.    NiceTooltips    1.17    
23.    Misc Anti Spam    1.0    
24.    Levertine Gallery    1.1.1    
25.    SMF 2.0.17 Update    1.0    
26.    Post Ratings Pro    1.6    
27.    Simple Audio Video Embedder    4.1.4    
28.    Post Unapproval    1.1.4    
29.    Footer Menu v.1    v.1    
30.    Logout Prompt    1.0    
31.    Unanswered Topics    2.5    
32.    SMFPacks Shoutbox    1.1    
33.    Board Notes    1.0.8    
34.    Topic Author    0.1    
35.    Member Awards    3.0    
36.    Send Locked Topics To Bottom    1.0    
37.    Member NotePad    2.0.3
        Greekgods    1.0


Forum version: SMF 2.0.17
Database Server: MySQL
MySQL version: 5.7.34
PHP: 7.4.16
Server version: Apache

This error seems to hit on every action of user or guest/bot
8: Trying to access array offset on value of type null
File: /home/name/public_html/Sources/Load.php
Line: 168

Ninja ZX-10RR

Update to 2.0.18 for php 7.4 support.
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.

♥ Jess ♥

STOP EDITING MY PROFILE

Steve

Note: doing that may cause some mods not to work.
My pet rock is not feeling well. I think it's stoned.

efk

Quote from: Steve on May 02, 2021, 02:28:17 PM
Note: doing that may cause some mods not to work.
Thanks, that part is known to me, I'm checking if there are broken functionalities.

Advertisement: