BACK TO DIRECTORY

Count Pagination Fix for MySQL

by leendertvb

0.0
(0 ratings)

As per MySQL documentation the FOUND_ROWS function in conjunction with the SQL_CALC_FOUND_ROWS function are deprecated as of MySQL version 8.0.17. This causes the pagination in WordPress to be broken, both in the front-end as well as in the back-end, resulting in just showing page 1 only.

This plugin solves the issue WordPress is facing when run under newer versions of MySQL database. By hooking into the query that is used to calculate the number of found posts, we return the right amount of posts found so the pagination can be built up correctly again.

Plugin Details

Active Installs
10
Total Downloads
1,573
Version
1.1.5
Requires WP
6.0
Requires PHP
7.0
Tested Up To
6.8.8
Added
2024-02-13
Last Updated
2025-10-21 10:16am GMT

Ratings

5
0
4
0
3
0
2
0
1
0