WordPress.org

Ready to get started?Download WordPress

Forums

Next Page, Not Next Post
Small PHP bug on line 25/40 (2 posts)

  1. JEPSONRAE
    Member
    Posted 1 year ago #

    Hi,

    You need to declare "$getPages" outside the IF statement on line 25 of next_page_not_next_post.php. i.e. insert the following line before the IF statement:

    $getPages = null;

    Otherwise when you have PHP set to report errors (like when WP is in debug mode), then it'll issue a warning when $getPages isn't yet declared on line 40.

    I've added the fix to my copy and it works fine under WP 3.4.1.

    Cheers
    Phil

    http://wordpress.org/extend/plugins/next-page-not-next-post/

  2. JEPSONRAE
    Member
    Posted 1 year ago #

    Ditto for line 110 :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.