Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author AntoineH

    (@antoineh)

    Hi, thanks for the donation.

    Have you tried changing the page in the plugin options? It’s under the plugin pages section.

    Thread Starter floruf

    (@floruf)

    In the plugin options, under “See a user’s predictions page”, the page “Player predictions” is selected. Should I change that?

    Plugin Author AntoineH

    (@antoineh)

    No, that setting seems to be fine. I don’t know why WordPress/my code is mixing the page ID’s.

    What you can try, is changing the value directly in the database if you have access to a tool like phpMyAdmin and you feel comfortable going in the database, I can give instructions. If can give me temporary access I can change it for you. Just send the account info and URL to cpanel/phpmyadmin to my email address (don’t post it on this public forum).

    Thread Starter floruf

    (@floruf)

    For others who may face the same issue: you mean that the ID of page “Player predictions” should always be 21 and not 12?

    That’s what we should change in the database?
    (and of course first changing the ID of the page who has now 12 as ID)

    Thread Starter floruf

    (@floruf)

    I am really not sure but I think the issue (wrong page IDs) arose when I created a menu through Appearance β†’ Menus in WordPress admin. I had also set page “Player predictions” page as private (=non visible on the site) but it was working well.

    Hi,

    Just adding some information on the table: It happened the same to my website, once I updated the Polylang plugin to version 1.5.

    Luckily I had a backup in hand, so the pages are working fine.

    Cheers and good luck

    Plugin Author AntoineH

    (@antoineh)

    No, don’t change the page ID’s! On activation the plugin creates some pages and stores the ID’s for those pages in the wp_options table together with some other settings for the plugin. The ID will be different in every install.

    Quickest way to solve this, is to change the ID value in the wp_options table (option_name = footballpool_plugin_options).

    I will have to do some investigation on why the wrong value is stored in the settings. But I can’t predict when (and if) I find what the problem is.

    Plugin Author AntoineH

    (@antoineh)

    Hi rapha84, thanks for the info. I will have a look at this polylang plugin to see if they somehow mess with the page ID’s and if so, check if I can work around it. Or maybe I am doing it wrong πŸ™‚

    Thread Starter floruf

    (@floruf)

    Regarding Rafa84’s comment, as for me, I have only installed the Football Pool plugin. And I don’t have a backup because I have just installed the plugin (for a couple of days). But I had tested it on another site and I had not this issue.

    Thank you very much Antoine, I’ll send you an email right now with access to the database!

    Thread Starter floruf

    (@floruf)

    You solved the issue in my database. Thank you!

    Thread Starter floruf

    (@floruf)

    Solved

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Page ID’ is closed to new replies.