WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: W3 Total Cache] missing page navigation (6 posts)

  1. ghacks
    Member
    Posted 4 years ago #

    I'm experiencing a strange issue for some days now. I have the latest version of W3 Total Cache installed and had the page navigation plugin WP-Pagenavi in its latest version installed as well.

    I received emails from some users who said that they could not see the page navigation on the homepage anymore. I checked and it was indeed the case. I cleared the cache in the W3 Cache plugin and the navigation was showing up again.

    I then switched to Pagebar thinking that maybe the navigational plugin was making troubles but experienced the same issues with that plugin as well.

    I can access other sites http://www.domain.com/page/xxx and they seem to show the navigation, was not however able to test them all with more than 960 pages of content.

    I have not disabled the caching of the homepage (just now) and hope that the caching issues will be resolved by that.

    Does anyone have suggestions on how to cope with that problem? My domain is http://www.ghacks.net

    thanks

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Andrew Biss
    Member
    Posted 4 years ago #

    I ran into the same problem with W3 Total Cache and WP-Pagenavi.

    What seemes to happen is that WP-Pagenavi is not seeing the right information about whether the current query "is_paged()" when building the page cache.

    For example, if I go to my home page and the posts extend over 3 pages, then WP-Pagenavi shows all archive pages, category pages, tag pages etc as if they had 3 pages, irrespective of how many there really are.

    As I workaround I turned database caching off, but left page caching on. WP-Pagenavi now works as expected.

    My first thought was that maybe the "is_paged()" state information is not being saved correctly when W3TC caches the database queries? So, the "is_paged()" state from the first saved query is leaking into all the other queries from that point onwards.

    I have not looked into this further at the moment, but that sounds consistent with the behaviour I experienced.

  3. Frederick Townes
    Member
    Posted 4 years ago #

    This bug is fixed in the development release: http://wordpress.org/extend/plugins/w3-total-cache/download/

  4. ghacks
    Member
    Posted 4 years ago #

    Thanks Frederick,

    any idea when it will be added to the next public release? Is it unproblematic to install the dev release and then upgrade to the next public release? Will the public release be shown as an update in the plugin listing?

  5. Andrew Biss
    Member
    Posted 4 years ago #

    I have installed the development release and WP-PageNavi 2.61 is now working again with both page and database caching turned on.

    Thanks Frederick,

    Andrew.

  6. Frederick Townes
    Member
    Posted 4 years ago #

    any idea when it will be added to the next public release? Is it unproblematic to install the dev release and then upgrade to the next public release? Will the public release be shown as an update in the plugin listing?

    No. Yes. Yes.

Topic Closed

This topic has been closed to new replies.

About this Topic