News:

Wondering if this will always be free?  See why free is better.

Main Menu

Error 500 after unistalling a mod

Started by bod22, February 18, 2024, 05:51:29 AM

Previous topic - Next topic

bod22

I unistalled mod Shoutbox Pro from smfpacks.
 
Now my forum is broken, I have en error like this in my server error logs.

2024-02-18 11:36:24.569735 [NOTICE] [3224574] [T0] [37.109.150.233:9330-H3:D6BEFA9CAA427EC4-48#APVH_www.strefapsx.pl:443] [STDERR] PHP Fatal error:  Uncaught TypeError: array_unshift(): Argument #1 ($array) must be of type array, null given in mysite/forum/Sources/Load.php:1740\nStack trace:\n#0 in mysite/public_html/forum/Sources/Load.php(1740): array_unshift()\n#1 in mysite/public_html/forum/Sources/Errors.php(301): loadTheme()\n#2 in mysite/public_html/forum/Sources/Errors.php(161): setup_fatal_error_context()\n#3 in mysite/public_html/forum/index.php(135): fatal_error()\n#4 [internal function]: {closure}()\n#5 {main}\n  thrown in /home/host253834/domains/strefapsx.pl/public_html/forum/Sources/Load.php on line 1740\n
Any idea what can be wrong and what should I do now?

I use 2.0.19.
PHP 8.1

Line 1740 in Load.php is

'name' => $context['forum_name_html_safe']
When I try to enter main page my link shows forum/agreement/?sa=policy with Error 500.

Doug Heffernan

All third party mods/themes related support questions should be asked at their respective support topics/forums.

That being said, have a look at this link:

https://wiki.simplemachines.org/smf/A_mod_broke_my_forum

bod22

#2
I don't know if it's mod related issue because I tried to use the idea from your link and it didn's solve the problem. I still have this blank page with error 500.

Doug Heffernan

Quote from: bod22 on February 18, 2024, 06:38:16 AMI don't know if it's mod related issue because I tried to use the idea from your link and it didn's solve the problem.

The fact that the error happened after the mod uninstallation coupled with the error message strongly indicate that it's mod related imo.

Quote from: bod22 on February 18, 2024, 06:38:16 AMI still have this blank page with error 500.

Can you check your server error log page and post here the most recent messages logged in there?

bod22

I posted the last error in the first post.
It's repeated all the time.

Doug Heffernan

Quote from: bod22 on February 18, 2024, 07:19:47 AMI posted the last error in the first post.
It's repeated all the time.

It's the same error then. When you say the following quoted below, what did you try exactly? Is that mod compatible with php 8.x btw?

Quote from: bod22 on February 18, 2024, 06:38:16 AMI tried to use the idea from your link and it didn's solve the problem.

Like I sad above, this is mod related and you should really ask for support at that developer's support forum.

Kindred

Well, your php version could be the problem.

Step it back to  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."

bod22

Quote from: Doug Heffernan on February 18, 2024, 07:24:40 AMIt's the same error then. When you say the following quoted below, what did you try exactly? Is that mod compatible with php 8.x btw?

Quote from: Kindred on February 18, 2024, 08:32:36 AMWell, your php version could be the problem.

Step it back to  8.0

I've used PHP 8.1 for a few months so it's not the problem. It worked well on it. However I tried to change it even into 7.4 and it didn't help.

I managed to restore backup and now my forum works, but I need to replace this old mod with the newest version somehow. To do it I need to unistall the former.

 

Doug Heffernan

Quote from: bod22 on February 18, 2024, 12:07:23 PMI managed to restore backup and now my forum works

Glad to hear that. I will be marking this as solved then.

Quote from: bod22 on February 18, 2024, 12:07:23 PMbut I need to replace this old mod with the newest version somehow. To do it I need to unistall the former.

That would be the best course of action imo.

Sir Osis of Liver

If you've restored the forum with shoutbox installed, try downgrading php to 8.0 or 7.4, then uninstall the mod.  The uninstaller may be having problems with 8.1.
When in Emor, do as the Snamors.
                              - D. Lister

bod22


Doug Heffernan

Quote from: Sir Osis of Liver on February 18, 2024, 12:50:17 PMThe uninstaller may be having problems with 8.1.

That is what I suspect that caused the issue hence my question above about the mod's 8.x compatibility.

miDnIghtEr20C

I've run a message board since 2009 using godaddy.... this weekend my site won't load up and I too get the error 500 message.  I have no idea what to do! My site is www.showtimeforfree.com   Thanks for any help.  I found it interesting that someone else had a 500 error this weekend.  I'm not sure why my site won't show up.  I didn't do anything to it.

Arantor

Quote from: miDnIghtEr20C on February 18, 2024, 05:01:01 PMI found it interesting that someone else had a 500 error this weekend

Given that a 500 error is literally just "something went wrong" I'm certain they're unrelated.

Best to ask in a new topic, ideally with details from the error log because that will help work out what broke and therefore what needs fixing.
Holder of controversial views, all of which my own.


bod22

You were right in my case it was the issue with PHP.

Advertisement: