Getting a couple of these same errors: '8:Array to string conversion' in Security.php at line 924. URLs causing the error: ../index.php?action=profile;u=845;area=showposts;sa=messages, also: ../index.php?action=profile;area=showposts;sa=attach;u=845;sort=filename . Errors are from two Guests with different IPs, looks like trying to check profile of members.
Backtrace info:
#0: smf_error_handler()
Called from unknown on line -1
#1: array_intersect()
Called from ../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
These keep increasing, now I have 8 of these same errors in the log, all from Guests.
Mods installed?
Just one so far, Ads Manager 1.3.3
Uninstalled it, will monitor it for a while
Quote from: Blade~ on June 07, 2022, 02:18:30 PMGetting a couple of these same errors: '8:Array to string conversion' in Security.php at line 924. URLs causing the error: ../index.php?action=profile;u=845;area=showposts;sa=messages, also: ../index.php?action=profile;area=showposts;sa=attach;u=845;sort=filename . Errors are from two Guests with different IPs, looks like trying to check profile of members.
What was the latest change that you did to you forum prior to these errors happening?
Just did the update from 2.1 RC4 to 2.1.2. Actually I think this error also existed a while ago in RC4 but somebody suggested a temporary patch that only suppressed the error but the 2.1.2 install removed it. This time I don't want to just patch it but fix it the right way. I uninstalled Ads Manager and so far no errors for over an hour now. We'll see ...
I'm going to have a patch for this added to SMF 2.1.3.
https://github.com/SimpleMachines/SMF/pull/7499
Great, thanks Live627!