Im getting random errors

Started by Snow-Man, May 02, 2024, 02:14:22 PM

Previous topic - Next topic

Snow-Man

Hello guys,

last days im getting different errors and didn't know how to stop or fix it

these one of the errors

General errors :
QuoteGuest
 XX.XXX.XX.XXX
 789844761332b901ee44ac155aa7dab0

 /homepages/21/d38531796/htdocs/fear/forum/Sources/Subs.php (Line 4548)  Backtrace information

Type of error: General
Error messageSelect
2: foreach() argument must be of type array|object, null given

QuoteGuest
 XX.XX.XX.XXX
 789844761332b901ee44ac155aa7dab0
/homepages/21/d38531796/htdocs/fear/forum/Sources/Subs.php (Line 4548)  Backtrace information

Type of error: Undefined
Error messageSelect
2: Undefined array key "template_layers"

QuoteGuest
 XX.XXX.XX.XXX
 789844761332b901ee44ac155aa7dab0
 /homepages/21/d38531796/htdocs/fear/forum/Sources/Subs.php (Line 5563)  Backtrace information

Type of error: Undefined
Error messageSelect
2: Undefined array key "can_register"

Quote2: Undefined array key "is_guest"

Quote2: Undefined array key "id"


CRITICAL

QuoteXX.XXX.XXX.XXX
 46de41a912bdaeb1a1c88685344a7ef1
 index.php?action=admin;area=viewmembers;sa=browse;type=approve  Backtrace information

Type of error: Critical
Error message
Administration login attempt!
Referrer: index.php?action=admin;area=viewmembers;sa=browse;type=approve
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
IP: XX.XXX.XXX.XX

Quote/homepages/21/d38531796/htdocs/fear/forum/Sources/Subs.php (Line 4548)

Type of error: General
Error message
2: foreach() argument must be of type array|object, null given


Kindred

Smf version?
Mods installed?
Php version?

Theme?
Url?

It looks like you have mods which are not fully installed and/or support the php version you use.
Сл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."

Snow-Man

Quote from: Kindred on May 02, 2024, 02:31:48 PMSmf version?
Mods installed?
Php version?

Theme?
Url?

It looks like you have mods which are not fully installed and/or support the php version you use.
im using the latest smf version 2.1.4
These are mods
QuoteTop Stats
Members Online Today
Attachment Browser
Video Embed
Search Engine BBC
Topic Solved
Board Sorting Method
Top Replies
Say Thanks
My Read_Topics
Mod Version Checker
MPAAP
SMF 2.1.4 Update
Stop Forum Spam
Yet Another YouTube BBCode Tag
Simple Audio Video Embedder

php version is 7 as i remember

default theme : Core Theme

Steve

Where did you get the core theme for v2.1.4?
My pet rock is not feeling well. I think it's stoned.

Snow-Man

Quote from: Steve on May 02, 2024, 02:40:45 PMWhere did you get the core theme for v2.1.4?
default installation

Steve

Um ... 2.1.4 doesn't have a core theme as far as I know. The default theme is called Curve2.
My pet rock is not feeling well. I think it's stoned.

Snow-Man

Quote from: Steve on May 02, 2024, 02:45:56 PMUm ... 2.1.4 doesn't have a core theme as far as I know. The default theme is called Curve2.
i dont remember that i have added another theme, i kept it how it is. is it the problem about these errors?

Steve

Installing 2.1.4 would have automatically made your default theme Curve2 and gotten rid of Core. I'm not a coder so I can't answer your question specifically but the fact you have the Core theme as default concerns me.
My pet rock is not feeling well. I think it's stoned.

Snow-Man

Quote from: Steve on May 02, 2024, 02:50:51 PMInstalling 2.1.4 would have automatically made your default theme Curve2 and gotten rid of Core. I'm not a coder so I can't answer your question specifically but the fact you have the Core theme as default concerns me.
literally forget about that, still remember that i have done anything to the forum, just added some mods and nothing else

Steve

When you go to your profile and then look and layout, is Curve2 an option?
My pet rock is not feeling well. I think it's stoned.

Snow-Man

Quote from: Steve on May 02, 2024, 02:53:33 PMWhen you go to your profile and then look and layout, is Curve2 an option?
its in the options i see Use this theme or preview theme.

Steve

Maybe I misremember about the Core theme then. I will have to let one of the coders take over.

It would be much easier for them if they had the URL to your forum.

Tagging @Kindred.
My pet rock is not feeling well. I think it's stoned.

Doug Heffernan

Quote from: Snow-Man on May 02, 2024, 02:52:32 PMstill remember that i have done anything to the forum, just added some mods and nothing else

You are saying that as if it's no big deal when in fact it's a big deal. What mods did you install prior to the errors starting to pop up?

Snow-Man

Quote from: Doug Heffernan on May 02, 2024, 03:04:26 PM
Quote from: Snow-Man on May 02, 2024, 02:52:32 PMstill remember that i have done anything to the forum, just added some mods and nothing else

You are saying that as if it's no big deal when in fact it's a big deal. What mods did you install prior to the errors starting to pop up?
i dont remember which one because i have installed all of mods together, have downloaded all important mods

Sir Osis of Liver

Link to forum?

Core theme remains when 2.0 is upgraded to 2.1, but isn't accessible in 2.1.  Some users refer to Curve2 as core theme, that's probably the case here.
When in Emor, do as the Snamors.
                              - D. Lister

Kindred

If you are using core rather than curve2(aka default) then, yes, that would cause problems

I believe that stop forum spam may require at least php 8.0
Сл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."

Snow-Man

Quote from: Kindred on May 02, 2024, 05:19:43 PMIf you are using core rather than curve2(aka default) then, yes, that would cause problems

I believe that stop forum spam may require at least php 8.0

thank you guys for helping, i will change forum and see if i keep getting errors

Snow-Man

hello guys, i have changed theme to compatible one for my smf version yesterday but i kept getting these errors
i have installed this theme ProCurve
'undefined_vars'


 
Quote/homepages/21/d38531796/htdocs/fear/forum/Sources/Subs.php (Line 4560)

2: Undefined array key "template_layers"



 
Quote/homepages/21/d38531796/htdocs/fear/forum/Sources/Subs.php (Line 5575)

2: Undefined array key "can_register"


 
Quote/homepages/21/d38531796/htdocs/fear/forum/Sources/Subs.php (Line 5565)

2: Undefined array key "session_id"


 
Quote/homepages/21/d38531796/htdocs/fear/forum/Sources/Subs.php (Line 5565)

2: Undefined array key "session_var"



 
Quote/homepages/21/d38531796/htdocs/fear/forum/Sources/Subs.php (Line 5419)

2: Undefined array key "id"


Quote/homepages/21/d38531796/htdocs/fear/forum/Sources/Subs.php (Line 5410)

2: Undefined array key "id"



 
Quote/homepages/21/d38531796/htdocs/fear/forum/Sources/Subs.php (Line 5405)

2: Undefined array key "is_guest"




 
Quote/homepages/21/d38531796/htdocs/museum/forum/Sources/Subs.php (Line 5386)

2: Undefined array key "can_mod"



General


 
Quote/homepages/21/d38531796/htdocs/fear/forum/Sources/Subs.php (Line 4560)

2: foreach() argument must be of type array|object, null given

Steve

You didn't do what was suggested though. Can you change your PHP version to at least 8.0?

On top of that, you've been asked a number of times for the url of your forum. Without that, we're flying blind here. If you'd rather not post it publicly, PM it to me and I'll make sure only the right people see it.

And again, when you say 'Core' theme, are you actually meaning the Core them from 2.0.x or the Curve2 theme from 2.1.x?
My pet rock is not feeling well. I think it's stoned.

Snow-Man

Quote from: Steve on May 04, 2024, 07:40:40 AMYou didn't do what was suggested though. Can you change your PHP version to at least 8.0?

On top of that, you've been asked a number of times for the url of your forum. Without that, we're flying blind here. If you'd rather not post it publicly, PM it to me and I'll make sure only the right people see it.

And again, when you say 'Core' theme, are you actually meaning the Core them from 2.0.x or the Curve2 theme from 2.1.x?
i have sent all details on PM

Advertisement: