Fixes pagination numbers
Removes warning on wp-debug set to true