SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
Array
(
[0] => SELECT * FROM news WHERE (`show` = :show AND `date` < :date) ORDER BY `date` DESC LIMIT 5
[1] => Array
(
[:show] => 1
[:date] => 2026-03-05
)
)
File: .../swisscleanroomconcept.ch/httpdocs/tools/gallyapi/src/Database/PDOModel.php
Line: 890
Gally\Homepage\Modules\News\Entities\News Object
(
[table:protected] => news
[prefix:protected] =>
[defaultOrderBy:protected] => date DESC
[rowIdentifier:protected] => news_id
[timestamps:protected] =>
[timestampCreatedAt:protected] => created
[timestampUpdatedAt:protected] => updated
[manualSort:protected] =>
[dateFormat:protected] => d.m.Y
[dateTimeFormat:protected] => d.m.Y - H:i
[timeFormat:protected] => H:i
[emptyColumnPlaceholder:protected] => -
[db:protected] => PDO Object
(
)
[idData] => Array
(
)
[id:protected] =>
[limit:protected] => 5
[select:protected] =>
[where:protected] =>
[wheres:protected] => Array
(
[0] => Array
(
[0] => show
[1] => 1
)
[1] => Array
(
[0] => date
[1] => <
[2] => 2026-03-05
[3] => AND
)
)
[queryString:protected] =>
[orderBy:protected] => date DESC
[lastQuery:protected] => Array
(
[0] => SELECT * FROM news WHERE (`show` = :show AND `date` < :date) ORDER BY `date` DESC LIMIT 5
[1] =>
)
[result:Gally\Database\PDOModel:private] =>
[utf8decode:Gally\Database\PDOModel:private] => 1
[parameters:protected] => Array
(
[:show] => 1
[:date] => 2026-03-05
)
[otherTables:Gally\Database\PDOModel:private] =>
)
Gally\Exceptions\GallyException