Changed the post count on reading order pages to 100, which seems to minimize the chances of that strange error popping up. Still got it once in 50 pages or so, but that’s a lot less than before. Will have to figure out a better permanent situation (maybe that infinite scroll thing). Seems to work for now. Added next and last links to the top and bottom of these pages, since you kind of need them now to navigate.
Also fixed the book count up top in the header (it was including blog posts as titles in the database) and added a counter for the amount of tagged characters that you can sort by.
In addition, moved the code that calls the sidebars to header.php so they get called before the content – meaning that the navigation pops up quicker (or should seem to not move at all) and isn’t dependent on the rest of the content loading right away. Should make the user experience the tiniest bit slicker.