When clicking on a page number, the Ajax progress indicator pops up, but the next page does not appear and my PHP log records: PHP Fatal error: Call to a member function get() on a non-object in \httpdocs\wp-includes\query.php on line 27
However, if I click on the next or previous link, the whole page reloads and it properly pages
If I go into the paginate_loop function in wp-paginate.php and I edit the class of the a tags so the no longer say ‘page’ then the page links work, but they cause a full postback instead of just loading the pager itself.
I am not even sure if the Ajax bit is native functionality for wp-paginate as I have inherited this code, but it seems to be. I would like to have this paging working without the full postback.
Any pokes in the right right direction would be appreciated.
- The topic ‘[Plugin: WP-Paginate] PHP Fatal Error when using Ajax?’ is closed to new replies.