[30-Jun-2024 11:39:16 Europe/London] PHP Warning: session_start(): Failed to decode session object. Session has been destroyed in /home/####/####/includes/system/versioned/1.0.8.3/session.php on line 55
[30-Jun-2024 11:39:16 Europe/London] PHP Fatal error: Uncaught TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result, bool given in /home/####/####/includes/system/versioned/1.0.8.3/mysql_session.php:26
Stack trace:
#0 /home/####/####/includes/system/versioned/1.0.8.3/mysql_session.php(26): mysqli_num_rows()
#1 [internal function]: mysql_session->gc()
#2 /home/####/####/includes/system/versioned/1.0.8.3/session.php(55): session_start()
#3 /home/####/####/includes/system/segments/application/start_session.php(50): Session::start()
#4 /home/####/####/includes/application_top.php(42): require('/home/####/...')
#5 /home/####/####/index.php(13): require('/home/####/...')
#6 {main}
thrown in /home/####/####/includes/system/versioned/1.0.8.3/mysql_session.php on line 26
Can anyone help decipher the cause as I have no idea where to start looking.
It's from 1.0.9.3, so you may not have applied it as part of the normal update process if you're on a lower version. This would cause the second (Fatal error) message, not the warning.
The first line is complaining that someone is trying to use a session that has a problem that is keeping it from being decoded. This could be caused by a number of things. Some discussion at https://stackoverflow.com/q/34944892/6660678 and the related questions (right column). If that is happening frequently, you could try changing the type of value in the sessions table from TEXT to MEDIUMTEXT and see if that helps.