Hi, yesterday I noticed that guests are making many errors in my logs (in SMF).
All errors are in two files: Subs.php and Security.php. Errors are created by guests and (what's for me interesting) this entries have no IP.
Here are example errors from Security.php:
Line 833:
if (!is_array($permission) && in_array($permission, $user_info['permissions']))
Errors:
2: in_array() expects parameter 2 to be array, null given
8: Undefined index: permissions
Line 836:
elseif (is_array($permission) && count(array_intersect($permission, $user_info['permissions'])) != 0)
Errors:
2: array_intersect(): Argument #2 is not an array
Errors are repeating for 11 pages and all have the same time.
Errors from Subs.php:
Line 4068:
if (($menu_buttons = cache_get_data('menu_buttons-' . implode('_', $user_info['groups']) . '-' . $user_info['language'] . '-' . empty($context['disable_sp']), $cacheTime)) === null || time() - $cacheTime <= $modSettings['settings_updated'])
Errors:
8: Undefined index: language
2: implode(): Invalid arguments passed
8: Undefined index: groups
8: Undefined index: total_time_logged_in
Errors from both files have the same URL logged:
http://***.info/forum/index.php?action=portal;sa=shoutbox;shoutbox_id=1;time=1392993296;xml
Some time ago I had another issue with errors made by guests =>
http://www.simplemachines.org/community/index.php?topic=502568.0SMF version: 2.0.7
Installed modifications:
Arantor CAPTCHA 1.0.8
Top 10 Posters and Topic Starters Stats (Today, Week, Month, and Year) 2.6
Nickname to Reply 0.7.1.1
Best Answer Intergration 1.4
ResizeImagesToFitScreen 0.1.6
DevCenter 0.4
Join date and Location in Posts 1.3.1
Location on memberlist SMF2 1.5
Custom Fields On Memberlist 1.1
Topic Author 0.1
Recent Topics On Board Index 1.03
Optimus Brave 1.8.7
Similar Topics 0.6
Tapatalk SMF 2.0 RC5/Final Plugin 3.9.0
SA GPlus 0.3 REV 9
SA Facebook 2.0.2
Avatar On Board RC2 2.1
Ban Filter 1.0
Gravatar 4 SMF 1.0
Member Color Link 3.1
Switch Permissions 1.0
Aeva Media 1.4w
Misc Anti Spam 1.0
Add Facebook Like, Tweet, and Google +1 1.0.3a
httpBL 2.5.1
Subs.php and Security.php files in attachment.
How this can be solved? Or how at least figure out IP so I can add it in ban list?