• I am experience some unexpected behavior with player list. I have a list which list the players on a team. If I switch move a player from another team (eg Steve from Team 12 moves to Team 4) and I display a player list for Team 4, Steve correctly shows up on the list, but the Team Name he is listed on still shows as Team 12. Interestingly, if I edit the player list and do no changes but simply resave it, Steve will show with the correct Team name. Here is the link for the player list before editing:
    Incorrect Player List/

    Here is the link for the player list after resaving.
    Correct Player List/

    I’m concerned that the link to the old team is orphaned data in the database which should be erased when the player is moved to the new team.

    Questions:
    How to permanently fix the player list so it displays properly.
    How do I check the integrity of the sportspress data base to ensure that all data linkages are intact and there is no orphaned data?

    BTW, I have changed to the rookie theme to ensure the problem is not theme related.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Contributor Roch

    (@rochesterj)

    Hi!

    Thanks for reaching out and I’m sorry for the trouble.

    Usually issues that fix themselves with a save operation are cache related issues.

    This could be either a cache coming from WordPress itself (object cache of some sort), a caching plugin, or just the player list that may be cached somewhere.

    I’ll send this to our dev team as well, just so we can confirm where it’s coming from. If you have any plugins I’d suggest disabling them all.

    Thanks!

    Thread Starter pcvcadmin

    (@pcvcadmin)

    Thanks for the response.I’ll try and disable plugins and see what the outcome is.

    Thread Starter pcvcadmin

    (@pcvcadmin)

    OK. I have deactivated and deleted all plugins except for sportspress. The problem remains.

    Plugin Contributor Savvas

    (@savvasha)

    Is it possible to share with us the screenshot of your settings on those player_lists?

    Thanks,
    Savvas

    Thread Starter pcvcadmin

    (@pcvcadmin)

    Certainly. The screenshots for both player_lists are in this directory: Player_list screenshots

    • This reply was modified 6 years, 1 month ago by pcvcadmin.
    Plugin Contributor Savvas

    (@savvasha)

    Hi @pcvcadmin,

    If I see correctly, you have set at both lists just the Current Team as filtering parameter? In both occssions the same “Team 4”.

    Thread Starter pcvcadmin

    (@pcvcadmin)

    That is correct however as you can see in one case the result shows correctly as team 4 and in the other it shows Steve as being on team 12 ( his old team)

    Plugin Contributor Savvas

    (@savvasha)

    This is strange… Can you also make a screenshot of Steve Hui settings?

    Thanks,
    Savvas

    Thread Starter pcvcadmin

    (@pcvcadmin)

    Sure. It’s been done. It has been uploaded to the same location as the others.

    Plugin Contributor Savvas

    (@savvasha)

    Unfortunately I cannot reproduce this strange behaviour of the Player List…

    In a clear WordPress environment with only Sportspress installed and demo content imported, I created a Player List with filtering of Bluebirds as Current team. Four players were appeared (correctly). After that I go to one of them and change his current team to Eagles. Then I just refresh the Player List and three players appeared as it should be…

    Can you try that also in your server environment ?

    Thanks,
    Savvas

    Thread Starter pcvcadmin

    (@pcvcadmin)

    I will try to reproduce the behavior in the same environment as you. Can you tell me how I can get the demo content so I can import it into a clean Sportspress install?

    Thread Starter pcvcadmin

    (@pcvcadmin)

    Nevermind. I figured out how to get the demo content. I’ll try and reproduce it and let you know.

    Thread Starter pcvcadmin

    (@pcvcadmin)

    I was not able to reproduce the problem using the demo data, however I was able to reproduce the problem easily in a clean sportspress install. I have documented the steps to reproduce the problem here. I have also uploaded all the files needed to import the teams and players in the same directory here. Let me know if you are still unable to reproduce the problem.

    Plugin Contributor Savvas

    (@savvasha)

    Oh, ok! I will test it and let you know!

    Thanks,
    Savvas

    Plugin Contributor Savvas

    (@savvasha)

    Its true that the problem is appearing using your demo data. I will ask from @brianmiyaji to help us on this!

    Thanks,
    Savvas

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Unexpected Result in Player List’ is closed to new replies.