SELECT a.* FROM `sis_banners` AS a WHERE a.status = 1 AND a.ref = :ref AND :data BETWEEN a.inicio AND a.fim AND a.dias LIKE CONCAT("%[",:dia,"]%") ORDER BY rand() LIMIT :limit
Notice: SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query in /home/storage/3/e2/63/diocesetoledo/public_html/_app/system/crud/Read.php on line 48
Fatal error: Uncaught TypeError: Argument 1 passed to core\Model::toValueObject() must be of the type array, null given, called in /home/storage/3/e2/63/diocesetoledo/public_html/_general/core/Model.php on line 114 and defined in /home/storage/3/e2/63/diocesetoledo/public_html/_general/core/Model.php:175
Stack trace:
#0 /home/storage/3/e2/63/diocesetoledo/public_html/_general/core/Model.php(114): core\Model::toValueObject(NULL)
#1 /home/storage/3/e2/63/diocesetoledo/public_html/_general/model/helpers/BannersModel.php(96): core\Model::lista('WHERE a.status ...', Array, false, true, true)
#2 /home/storage/3/e2/63/diocesetoledo/public_html/_modules/website/views/inc/slideshow.phtml(2): model\helpers\BannersModel::get('slideshow', '2024-07-23', 2, 5)
#3 /home/storage/3/e2/63/diocesetoledo/public_html/_app/system/functions/core.php(258): include('/home/storage/3...')
#4 /home/storage/3/e2/63/diocesetoledo/public_html/_app/system/functions/core.php(216): file_include('/home/storage/3...', NULL)
#5 /home/storage/3/e2/63/dioceset in /home/storage/3/e2/63/diocesetoledo/public_html/_general/core/Model.php on line 175