• Omg, it seems that when I’m trying to show player list for one team, the page is not fully shown. Whe checking the source code, it just suddenly ends. I’ve tried to generate a new playlist and page but no help. If I add that specific playlist to any page with shortcode of siteorigin, it just stops the page.

    It’s a little bit hard to describe, but just check the source code and it’s clear.

    Working:
    https://whm07.louhi.net/~scadmin/juniorit/2002-04-torakat/pelaajat/

    Not working:
    https://whm07.louhi.net/~scadmin/miehet/pelaajat/

    Is it functions.php of the team, os which file is making the page? Where to check? This might be due the custom modifications that I made to hide empty tables without success. Please help, thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter zeniittiweb

    (@zeniittiweb)

    Just to for information, it’s not theme related. I changed the theme and it seems to work as bad. That pare ends before it should.

    Thread Starter zeniittiweb

    (@zeniittiweb)

    New not working site for reference:
    https://www.scweikot.fi/miehet/joukkue/

    Thread Starter zeniittiweb

    (@zeniittiweb)

    And this is the working page:
    https://www.scweikot.fi/kakkosjoukkue/pelaajat/

    Thread Starter zeniittiweb

    (@zeniittiweb)

    The links doesn’t lead to correct pages anymore. I’ll deleted all the players for that team and re-entered them. After that, everything worked fine. I’ve selected players again to the events and gave goals, passes and penalties to them. Then suddenly it doesn’t work anymore.

    I removed all the details from all of this teams event. Then the playerlist worked again. I’ll started to put one by one more details to the events and it seems that final score can be inputted, but when I select players from that team to event and give the players their individual scores, it seems to break the playerlist page. So no individual scores for the players. This is odd.

    Roch

    (@rochesterj)

    Hi!

    Thanks for reaching out!

    By your description it looks like your server is timing out when processing the page. This usually happens when you have low memory or timeout PHP settings. Please try increasing these stats

    Kind Regards,
    -Roch

    Thread Starter zeniittiweb

    (@zeniittiweb)

    I’ve update the links to this post. I also generated new team, event and players. From the event page you can see all the players for this team.

    This is the new event: https://www.scweikot.fi/event/test-team-99-vs-something/

    This is individual player page which works: https://www.scweikot.fi/player/john-player/

    This is the team page which stops: https://www.scweikot.fi/team/test-team-99/

    And this is the playerlist page which stops also: https://www.scweikot.fi/list/test-list/

    I’ve raised this question for my service provider just to check server side.

    Thread Starter zeniittiweb

    (@zeniittiweb)

    I’ve talked with the service provider, he’s an expert in PHP as well. He said that it can’t be PHP timeout, because in that case it should take nearly 30sec to build the page. Now the page is created instantly. It isn’t from memory either.

    He found this from PHP log and thought that it could be useful locating the problem:

    [20-Dec-2016 12:00:21 UTC] PHP Warning:  number_format() expects parameter 2 to be long, string given in /home/xxxxxxx/public_html/wp-content/plugins/sportspress/includes/class-sp-player-list.php on line 500
     
    [20-Dec-2016 12:00:21 UTC] PHP Warning:  number_format() expects parameter 2 to be long, string given in /home/xxxxxxx/public_html/wp-content/plugins/sportspress/includes/class-sp-player-list.php on line 500
     
    [20-Dec-2016 12:00:21 UTC] PHP Fatal error:  Uncaught exception 'Exception' with message 'Variable replacement does not exist for 'ga' in $ga/$eventsplayed' in /home/xxxxxxx/public_html/wp-content/plugins/sportspress/includes/libraries/class-eqeos.php:375
    Stack trace:
    #0 /home/xxxxxxx/public_html/wp-content/plugins/sportspress/includes/sp-core-functions.php(1258): eqEOS->solveIF('$ga/$eventsplay...', Array)
    #1 /home/xxxxxxx/public_html/wp-content/plugins/sportspress/includes/class-sp-player-list.php(493): sp_solve('$ga / $eventspl...', Array, '2')
    #2 /home/xxxxxxx/public_html/wp-content/plugins/sportspress/templates/player-list.php(48): SP_Player_List->data()
    #3 /home/xxxxxxx/public_html/wp-content/plugins/sportspress/includes/sp-core-functions.php(80): include('/home/xxxxxxx/p...')
    #4 /home/xxxxxxx/public_html/wp-content/plugins/sportspress/templates/team-lists.php(30): sp_get_template('player-list.php', Array)
    #5 /home/xxxxxxx/public_html/wp-content/plugins/sportspress/includes/sp-core-functions.php(80): include('/home/xxxxxxx/p...')
    #6 /home/xxxxxxx/ in /home/xxxxxxx/public_html/wp-content/plugins/sportspress/includes/libraries/class-eqeos.php on line 375
    Roch

    (@rochesterj)

    Hi!

    That’s weird! I’ve sent this to our dev team so they can check. Please stand by!

    Kind Regards,
    -Roch

    Thread Starter zeniittiweb

    (@zeniittiweb)

    Any news about this?

    Thread Starter zeniittiweb

    (@zeniittiweb)

    Any news about this? This is not duplicate!

    Thread Starter zeniittiweb

    (@zeniittiweb)

    I’m still waiting for help ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Page stops, source code suddenly ends’ is closed to new replies.