• Resolved iammatthill

    (@iammatthill)


    I am getting this error appear above the ladder on my website both on the front page and on the ladder page. I have tried to resolve it following instructions in other topics but have not had any success.

    Warning: A non-numeric value encountered in /home/austral8/public_html/wp-content/plugins/sportspress/includes/class-sp-league-table.php on line 333

    Thanks.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Roch

    (@rochesterj)

    Hi!

    Thanks for your message.

    This is just a warning so it really shouldn’t affect how your site works. In fact, we strongly recommend you to disable warnings as they may pose a security risk. You can ask your hosting provider on how to disable them.

    As for the warning message itself, there’s something wrong with the minutes count for teams. This may be a bit hard to pinpoint as you’d need to go over each of your events and double-check if you have a numeric value in the minutes.

    A quicker way to do this is to set all your events for that league table as drafts. At this point, the warning should be gone.

    Then you publish them one by one. Whenever you publish one check if the warning message is back (you can publish a couple at a time, or all events for a specific team at a time so it’s quicker). When it’s back you check that event to see how the stats are.

    Thanks!

    Thread Starter iammatthill

    (@iammatthill)

    Hi @rochesterj

    Thanks for your help. I have only four published matches at this stage, so it shouldn’t be hard to find the one that is causing the warning to appear.

    Where do I find the ‘minutes counts’ for each team?

    Roch

    (@rochesterj)

    Hi!

    Oh, that’s even better.

    That error in particular is referring to this element:
    https://prntscr.com/oz7yje

    Double-check if you have valid values there.

    Thanks!

    Thread Starter iammatthill

    (@iammatthill)

    All fixed. Thank you for your help.

    • This reply was modified 5 years, 6 months ago by iammatthill.
    Roch

    (@rochesterj)

    You’re most welcome!

    Let us know if you need anything else.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error appearing above Ladder’ is closed to new replies.