WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP-Paginate] PHP Fatal Error when using Ajax?

[Plugin: WP-Paginate] PHP Fatal Error when using Ajax?

  • 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.

    http://wordpress.org/extend/plugins/wp-paginate/

  • The topic ‘[Plugin: WP-Paginate] PHP Fatal Error when using Ajax?’ is closed to new replies.