PHP Fatal error: (RecentTopics)

Post a reply


BBCode is OFF
Smilies are OFF

Topic review
   

Expand view Topic review: PHP Fatal error: (RecentTopics)

PHP Fatal error: (RecentTopics)

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

Top