Hi All,

I have just updated the server and this is one of the error messages that I am getting below.

[28-Aug-2025 18:14:25 Australia/Sydney] PHP Fatal error: Uncaught TypeError: mysqli_data_seek(): Argument #1 ($result) must be of type mysqli_result, bool given in /includes/classes/query_cache.php:42
Stack trace:
#0 /includes/classes/query_cache.php(42): mysqli_data_seek()
#1 /includes/classes/db/mysql/query_factory.php(398): QueryCache->getFromCache()
#2 /includes/classes/db/mysql/query_factory.php(155): queryFactory->query()
#3 /includes/classes/db/mysql/query_factory.php(234): queryFactory->runQuery()
#4 /includes/functions/functions_categories.php(500): queryFactory->Execute()
#5 /includes/functions/functions_categories.php(512): zen_get_categories_products_list()
#6 /includes/modules/bootstrap/centerboxes/specials_index.php(38): zen_get_categories_products_list()
#7 /includes/templates/bootstrap/centerboxes/tpl_modules_specials_default.php(13): require('/home/a1ntaxxx')
#8 /includes/templates/bootstrap/templates/tpl_index_categories.php(100): require('/home/a1ntaxxx')
#9 /includes/modules/pages/index/main_template_vars.php(231): require('/home/a1ntaxxx')
#10 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/a1ntaxxx')
#11 /index.php(94): require('/home/a1ntaxxx')
#12 {main}
thrown in /includes/classes/query_cache.php on line 42

[28-Aug-2025 18:14:25 Australia/Sydney] Request URI: /brand-index-generic-and-genuine-a-to-z, IP address: 34.174.62.0
--> PHP Fatal error: Uncaught TypeError: mysqli_data_seek(): Argument #1 ($result) must be of type mysqli_result, bool given in /includes/classes/query_cache.php:42
Stack trace:
#0 /includes/classes/query_cache.php(42): mysqli_data_seek()
#1 /includes/classes/db/mysql/query_factory.php(398): QueryCache->getFromCache()
#2 /includes/classes/db/mysql/query_factory.php(155): queryFactory->query()
#3 /includes/classes/db/mysql/query_factory.php(234): queryFactory->runQuery()
#4 /includes/functions/functions_categories.php(500): queryFactory->Execute()
#5 /includes/functions/functions_categories.php(512): zen_get_categories_products_list()
#6 /includes/modules/bootstrap/centerboxes/specials_index.php(38): zen_get_categories_products_list()
#7 /includes/templates/bootstrap/centerboxes/tpl_modules_specials_default.php(13): require('/home/a1ntaxxx')
#8 /includes/templates/bootstrap/templates/tpl_index_categories.php(100): require('/home/a1ntaxxx')
#9 /includes/modules/pages/index/main_template_vars.php(231): require('/home/a1ntaxxx')
#10 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/a1ntaxxx')
#11 /index.php(94): require('/home/a1ntaxxx')
#12 {main}
thrown in /includes/classes/query_cache.php on line 42.

Php file info below line 36-49

* @param string $query
* @return mixed
*/
public function getFromCache(string $query)
{
$ret = $this->queries[$query];
mysqli_data_seek($ret, 0);
return ($ret);
}

/**
* @param string $query used as a cache key
* @return bool
*/

Any assistance on how to correct the error would be appreciated