1. SELECT `id`,`title`,`thumb`,`price`,`update_time` FROM `sl_items` WHERE status=1 ORDER BY `update_time` DESC LIMIT 6
2. SELECT t1.id,t1.title,t1.thumb,t1.price,t1.update_time FROM `sl_items` AS t1 JOIN (SELECT ROUND(RAND() * (SELECT MAX(id) FROM `sl_items`)) AS id) AS t2 WHERE t1.id >= t2.id ORDER BY t1.id ASC LIMIT 12
1. ERROR[8192]: Return type of aphp\core\db\Query::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [aphp/core/db/Query.php:836]
2. ERROR[8192]: Return type of aphp\core\db\Query::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [aphp/core/db/Query.php:841]
3. ERROR[8192]: Return type of aphp\core\db\Query::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [aphp/core/db/Query.php:851]
4. ERROR[8192]: Return type of aphp\core\db\Query::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [aphp/core/db/Query.php:866]
5. ERROR[8192]: Return type of aphp\core\db\Query::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [aphp/core/db/Query.php:861]
6. ERROR[8192]: Return type of aphp\core\db\Query::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [aphp/core/db/Query.php:856]
7. ERROR[8192]: Return type of aphp\core\db\Query::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [aphp/core/db/Query.php:876]
8. ERROR[8192]: Return type of aphp\core\db\Query::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [aphp/core/db/Query.php:871]