[Resolved] Error with AJAX pagination activated

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Error with AJAX pagination activated

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #9385
    Cris
    Participant

    Hi,

    I’ve got this error when AJAX pagination activated: /wp-content/plugins/wp-show-posts/wp-show-posts.php on line 516

    #9388
    Tom
    Keymaster

    Hi there,

    Is that the full error? Where does it show up on the page?

    #9390
    Cris
    Participant

    Yes, that is the full error.
    This is in the page where I show the list, under the last post.

    I think it could be because I still have not made as many entries as I indicated that will show per page. If so, no error should appear. I need time to create content. 😊

    #9413
    Cris
    Participant

    Hi there,

    That error had gone when I added more post but I found it again in debug.log, later to click on “Load more” buttom.

    PHP Notice: Undefined variable: next_page_url in /srv/www/___.org/www/wp-content/plugins/wp-show-posts/wp-show-posts.php on line 516

    #9503
    Tom
    Keymaster

    Yep, seeing this too. Fixed in the next version of WPSP. You can make the change to your file now if you’d like: https://github.com/tomusborne/wp-show-posts/commit/5924d96ed25e8e770b4d4b58d99e3e21c79677c1

    #9510
    Cris
    Participant

    Thanks Tom!

    #9528
    Tom
    Keymaster

    No problem 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.