News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

"Array to sting conversion" Error

Started by Blade~, January 20, 2023, 01:03:05 PM

Previous topic - Next topic

Blade~

We had this before in an earlier version and I can't remember how we solved it but it was sort of a patch anyway, and it was stated by one of the forum developers not to worry about it because with the newer release it will be resolved. I just updated our forum from 2.1.0 to 2.1.3 and of course getting this error again. Is there a permanent solution to this issue?

Type of error
General
Error message
8: Array to string conversion
File
../Sources/Security.php
Line
924
URL of page causing the error
../index.php?action=profile;area=summary;u=1
Backtrace information
#0: smf_error_handler()
Called from unknown on line -1
#1: array_intersect()
Called from /../Sources/Security.php on line 924
#2: allowedTo()
Called from /../Sources/Subs-Menu.php on line 105
#3: createMenu()
Called from /../Sources/Profile.php on line 535
#4: ModifyProfile()
Called from /../index.php on line 191

Thank you!
'Do nothing and there is nothing that's not done' - Lao Tzu

Running SMF 2.1.4
PHP version: 8.1.16

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

Blade~

#2
Yes, only one fortunately: Ads Manager.

Adding this: unfortunately can't be uninstalled as we're running ads with it
'Do nothing and there is nothing that's not done' - Lao Tzu

Running SMF 2.1.4
PHP version: 8.1.16

Blade~

Also just noticed there was a Mod Version Checker MOD installed, I thought it was part of the forum, I uninstalled it, maybe this will solver the problem.
'Do nothing and there is nothing that's not done' - Lao Tzu

Running SMF 2.1.4
PHP version: 8.1.16

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

Blade~

It appears so but time will tell. I'll mark this topic "solved" and if I still get more of the errors perhaps we can dig deeper. Thanks for the help!
'Do nothing and there is nothing that's not done' - Lao Tzu

Running SMF 2.1.4
PHP version: 8.1.16

Advertisement: