by thaterrormessage » Mon Feb 27, 2023 6:07 am
PHP Fatal error: Uncaught TypeError: mysqli_data_seek(): Argument #2 ($offset) must be of type int, mysqli_result given in
Fix:
I change in the /paybas/recenttopics/core/recenttopics.php the line 311 from
Code: Select all
$this->total_topics_limit = (int) $this->db->sql_fetchfield('topic_count', $result);
to
Code: Select all
$this->total_topics_limit = (int) $this->db->sql_fetchfield('topic_count');
Tested with phpBB 3.3.3, 3.3.9-RC and php 8.0
[quote]PHP Fatal error: Uncaught TypeError: mysqli_data_seek(): Argument #2 ($offset) must be of type int, mysqli_result given in[/quote]
[b]Fix:[/b]
I change in the /paybas/recenttopics/core/recenttopics.php the line 311 from
[code]$this->total_topics_limit = (int) $this->db->sql_fetchfield('topic_count', $result);[/code]
to
[code]$this->total_topics_limit = (int) $this->db->sql_fetchfield('topic_count');[/code]
Tested with phpBB 3.3.3, 3.3.9-RC and php 8.0