PHP Fatal error: (RecentTopics)

Find it. Solve it.
Post Reply
thaterrormessage
Site Admin
Posts: 7238
Joined: Tue Jul 14, 2020 3:21 pm

PHP Fatal error: (RecentTopics)

Post by thaterrormessage »

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
*IS THIS ERROR HAPPENING NOW? Reply in real-time below.* Hold software providers accountable - we rely on the community to acknowledge the same errors and their workarounds/fixes. Register to search and full board access.
Post Reply