News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

After Update to 2.0.17 error log is flooded with errors from guests

Started by Cypheros, January 12, 2020, 05:47:35 AM

Previous topic - Next topic

Cypheros

I updated some days ago but now my error logs are flooded with warnings and errors. Thousands per hour.

8: Undefined index: is_guest
.../Sources/Subs.php
Line: 2809

Source code:
2805: // Start up the session URL fixer.
2806: ob_start('ob_sessrewrite');
2807: ob_start(function ($buffer) {
2808: global $context;
==>2809: if (!$context['user']['is_guest'])
2810: return $buffer;


It seams guests have missing context entries.

Installed Mods:

Stop Spammer
Global Headers Footers
SMF4Mobile Mod
Language Drop Down



Bob Perry of Web Presence Consulting

My guess is one or both of the following two items to check... could be pointing to the wrong session info storage directory on your server, or it could also include folder/file permission issues, could be both
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Cypheros

Where I can find the setting for the session info storage directory?
It worked well with 2.0.15 but update to 2.0.17 broke something.

All PHP files in /Sources/ are 644 only Load.php is 604

PHP is 7.3

Cypheros


SpacePhoenix

Quote from: Cypheros on January 12, 2020, 06:20:41 AM
Where I can find the setting for the session info storage directory?
It worked well with 2.0.15 but update to 2.0.17 broke something.

All PHP files in /Sources/ are 644 only Load.php is 604

PHP is 7.3

iirc there's a thread about changes to the handling of cookies in 2.0.16 (and 2.0.17). Maybe you've fallen foul of the changes. Possibly try flushing out all sessions and have everyone log-in again?

Advertisement: