Forum: Bug Reports

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support and general questions related to GEO my WP plugin and its core add-ons please use the support forum.

[Resolved]gmw_pt_paginations

Tagged: 

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #35351
    asenka
    Member

    I’m working on a site that was created by someone that used to work here and the site heavily relies on GEO my WP. Recently the client reported that pagination is no longer working properly in the search results. I took a look and they seem to be calling this function

    <?php gmw_pt_paginations($gmw); ?>

    After a quick google search, I found this page saying that  the function is depricated

    https://github.com/Fitoussi/GEO-my-WP/blob/master/includes/geo-my-wp-deprecated-functions.php

    So is there something else I should use there? Please help. Thanks!

    Private Content Hidden
    #35390

    I assume that you are using a custom template file for the results page. You need to update all the deprecated function in this template file with the new functions.

    If you set WP_DEBUG to true ( in wp-config.php ) you should see warning pointing for all the deprecated functions.

    Let me know if that helps.

    #35409
    asenka
    Member
    This reply has been marked as private.
    #35410

    No, this warning has nothing to do with GEO my WP. BUt you should have also see warning about GEO my WP deprecated functions.

    Anyway, try replacing the current pagination function with:

    And see if that helps.

    #35509
    asenka
    Member

    Hey thanks for the reply. I tried replacing the function but it seems to give me the same exact result… The results page will show…

    [1][<<][…][>>]

    and when you click the right arrow box instead of going to page 2, it goes directly to page 5 (the last page in the results).

    Any other ideas how to fix it?

    Private Content Hidden
    #35655

    Try changing to one of the default results template file and see if the pagination works.

    #36165

    Hello Asenka,
    Have you tried changing to a default results template file?

    #36200
    asenka
    Member

    Hi, sorry for the delayed reply. Yes I just tried the default results page and it is doing the same thing. When I click the next arrow it goes directly to the last page (page 5) rather than page 2.

    Private Content Hidden
    #37333

    HI,
    Is the site down? I have tried to access it few times but it Get nothing found.

    #37395
    asenka
    Member

    Yes, quite unbelievably we got an email saying our site was causing performance issues on their server and we’d have to find a new host. They pulled everything down, dead ended our DNS and everything – no warning. Thanks iPower! Anyway, we’re getting it all set up on a new VPS so it should be back early next week.

    #37708
    asenka
    Member

    OK, site is back up – same issues both here and the global maps post. Thanks!

    #40377
    asenka
    Member

    Hi, sorry for the interruption in flow with the site down, but its back up. Would really appreciate any guidance on the pagination issue. Thanks.

    #41669
    This reply has been marked as private.
    #41724
    asenka
    Member

    Hi, see PM for access. Thanks so much

    Private Content Hidden
    #43024
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 18 total)

You must be logged in to reply to this topic.