• Resolved sbcastomailkanak12wvus

    (@sbcastomailkanak12wvus)


    I am the webmaster for msacwv.com . I am using the Sports Press plugin. I entered our fall sports schedules under the “events” section in the Word Press hub earlier this spring and everything was fine. Now, in August 2024 when I check our Football page I get a blank page and no content pulls over even though the page script shows in the website dashboard. This was working fine in May 2024 with league standing graphics and standings rendering on each specific sport page. Same with the sport standings (e.g. Boys and Girls Soccer). What has happened? Everything was great after I input all the Fall schedules in the late spring and in previous school years. I need guidance restoring to where they are again viewable. . I have my plugins up to date to the best of my knowledge and everything on the dashboard is as it was when we had full functionality. I’m at a loss. I’ve tried WordPress support and they referred me here. Please help! Thank you very much!

    I’ve attempted to add some screenshots. One shows the scripts in dashboard. One shows the blank page that is rendering when I attempt to publish with Sports Press activated. I have also added one thatshows the scripts pulling over and rendering if I deactivate the Sports Press Plugin. Obviously, I need Sports Press to get my league tables.

    https://drive.google.com/file/d/1AJQVBg9w7AywJtpLYJ3EARhZOmdneEBK/view?usp=sharing

    https://drive.google.com/file/d/1fCG5ncFngvoZkGmMc5tB1wx8zzAmW039/view?usp=sharing

    https://drive.google.com/file/d/1L0y8U84OiP9b64USITL4Dz_4LY06xoA-/view?usp=sharing

    Many, many thanks for any assistance.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi there @sbcastomailkanak12wvus ,

    I tried to visit https://msacwv.com/football/ but it returns me a critical error. Can you check your server logs to identify what is causing it?

    Also, can you confirm that SportsPress is installed and activated?

    Thanks,
    Savvas

    Thread Starter sbcastomailkanak12wvus

    (@sbcastomailkanak12wvus)

    Thank you for helping me. I am more?towards the "novice" status on programming issues. I know how to use the technology but programming is not my prime expertise. SportsPress is installed and activated.?

    As for errors: I see these 3:

    1)?

    FATAL ERRORAug 7, 2024 at 11:48 AMPHP Fatal error: Uncaught TypeError: Unsupported operand types: int + string in /srv/htdocs/wp-content/plugins/sportspress/includes/class-sp-league-table.php:396 Stack trace: #0 /srv/htdocs/wp-content/plugins/sportspress/templates/league-table.php(78): SP_League_Table->data() #1 /srv/htdocs/wp-content/plugins/sportspress/includes/sp-core-functions.php(82): include('/srv/htdocs/wp-...') #2 /srv/htdocs/wp-content/plugins/sportspress/includes/shortcodes/class-sp-shortcode-league-table.php(23): sp_get_template('league-table.ph...', Array) #3 /srv/htdocs/wp-content/plugins/sportspress/includes/class-sp-shortcodes.php(70): SP_Shortcode_League_Table::output(Array) #4 /srv/htdocs/wp-content/plugins/sportspress/includes/class-sp-shortcodes.php(205): SP_Shortcodes::shortcode_wrapper(Array, Array) #5 /wordpress/core/6.6.1/wp-includes/shortcodes.php(434): SP_Shortcodes::league_table(Array, '', 'team_standings') #6 [internal function]: do_shortcode_tag(Array) #7 /wordpress/core/6.6.1/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(team_s...', 'do_shortcode_ta...', '<p style="text-...') #8 /wordpress/core/6.6.1/wp-includes/class-wp-hook.php(324): do_shortcode('<p style="text-...') #9 /wordpress/core/6.6.1/wp-includes/plugin.php(205): WP_Hook->apply_filters('<p style="text-...', Array) #10 /wordpress/core/6.6.1/wp-includes/post-template.php(256): apply_filters('the_content', '<p style="text-...') #11 /srv/htdocs/wp-content/themes/rookie/content-page.php(21): the_content() #12 /wordpress/core/6.6.1/wp-includes/template.php(812): require('/srv/htdocs/wp-...') #13 /wordpress/core/6.6.1/wp-includes/template.php(745): load_template('/srv/htdocs/wp-...', false, Array) #14 /wordpress/core/6.6.1/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #15 /srv/htdocs/wp-content/themes/rookie/page.php(20): get_template_part('content', 'page') #16 /wordpress/core/6.6.1/wp-includes/template-loader.php(106): include('/srv/htdocs/wp-...') #17 /wordpress/core/6.6.1/wp-blog-header.php(19): require_once('/wordpress/core...') #18 /wordpress/core/6.6.1/index.php(17): require('/wordpress/core...') #19 {main} thrown in /srv/htdocs/wp-content/plugins/sportspress/includes/class-sp-league-table.php on line 396

    Message

    PHP Fatal error: Uncaught TypeError: Unsupported operand types: int + string in /srv/htdocs/wp-content/plugins/sportspress/includes/class-sp-league-table.php:396 Stack trace: #0 /srv/htdocs/wp-content/plugins/sportspress/templates/league-table.php(78): SP_League_Table->data() #1 /srv/htdocs/wp-content/plugins/sportspress/includes/sp-core-functions.php(82): include('/srv/htdocs/wp-...') #2 /srv/htdocs/wp-content/plugins/sportspress/includes/shortcodes/class-sp-shortcode-league-table.php(23): sp_get_template('league-table.ph...', Array) #3 /srv/htdocs/wp-content/plugins/sportspress/includes/class-sp-shortcodes.php(70): SP_Shortcode_League_Table::output(Array) #4 /srv/htdocs/wp-content/plugins/sportspress/includes/class-sp-shortcodes.php(205): SP_Shortcodes::shortcode_wrapper(Array, Array) #5 /wordpress/core/6.6.1/wp-includes/shortcodes.php(434): SP_Shortcodes::league_table(Array, '', 'team_standings') #6 [internal function]: do_shortcode_tag(Array) #7 /wordpress/core/6.6.1/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(team_s...', 'do_shortcode_ta...', '<p style="text-...') #8 /wordpress/core/6.6.1/wp-includes/class-wp-hook.php(324): do_shortcode('<p style="text-...') #9 /wordpress/core/6.6.1/wp-includes/plugin.php(205): WP_Hook->apply_filters('<p style="text-...', Array) #10 /wordpress/core/6.6.1/wp-includes/post-template.php(256): apply_filters('the_content', '<p style="text-...') #11 /srv/htdocs/wp-content/themes/rookie/content-page.php(21): the_content() #12 /wordpress/core/6.6.1/wp-includes/template.php(812): require('/srv/htdocs/wp-...') #13 /wordpress/core/6.6.1/wp-includes/template.php(745): load_template('/srv/htdocs/wp-...', false, Array) #14 /wordpress/core/6.6.1/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #15 /srv/htdocs/wp-content/themes/rookie/page.php(20): get_template_part('content', 'page') #16 /wordpress/core/6.6.1/wp-includes/template-loader.php(106): include('/srv/htdocs/wp-...') #17 /wordpress/core/6.6.1/wp-blog-header.php(19): require_once('/wordpress/core...') #18 /wordpress/core/6.6.1/index.php(17): require('/wordpress/core...') #19 {main} thrown in /srv/htdocs/wp-content/plugins/sportspress/includes/class-sp-league-table.php on line 396

    Timestamp

    2024-08-07T15:48:51.000Z

    Kind

    plugins

    Name

    sportspress

    File

    /srv/htdocs/wp-content/plugins/sportspress/includes/class-sp-league-table.php

    Line

    396

    Th2)

    WARNINGAug 7, 2024 at 11:52 AMPHP Warning: Cannot modify header information - headers already sent in /srv/htdocs/wp-content/plugins/indexes/indexes.php on line 54

    Message

    PHP Warning: Cannot modify header information - headers already sent in /srv/htdocs/wp-content/plugins/indexes/indexes.php on line 54

    Timestamp

    2024-08-07T15:52:32.000Z

    Kind

    plugins

    Name

    indexes

    File

    /srv/htdocs/wp-content/plugins/indexes/indexes.php

    Line

    54

    3)

    WARNINGAug 7, 2024 at 11:54 AMPHP Warning: Undefined property: stdClass::$odie_last_chat_id in /wordpress/plugins/wpcomsh/5.2.1/vendor/automattic/jetpack-mu-wpcom/src/features/help-center/class-wp-rest-help-center-odie.php on line 207

    Message

    PHP Warning: Undefined property: stdClass::$odie_last_chat_id in /wordpress/plugins/wpcomsh/5.2.1/vendor/automattic/jetpack-mu-wpcom/src/features/help-center/class-wp-rest-help-center-odie.php on line 207

    Timestamp

    2024-08-07T15:54:28.000Z

    Kind

    plugins

    Name

    wpcomsh

    File

    /wordpress/plugins/wpcomsh/5.2.1/vendor/automattic/jetpack-mu-wpcom/src/features/help-center/class-wp-rest-help-center-odie.php

    Line

    207
    Thread Starter sbcastomailkanak12wvus

    (@sbcastomailkanak12wvus)

    I am not savvy in decoding this sort of thing and this is my first experience with the website not working since I took the site over in 2019 from the previous webmaster for the site. Thank you for helping me!

    Plugin Contributor Savvas

    (@savvasha)

    Hi @sbcastomailkanak12wvus ,

    It seems like your server was upgraded to PHP 8+ version and thats why it returns these PHP fatal errors. Can you confirm that you are using the latest version of SportsPress (2.7.22) ?

    Thanks,
    Savvas

    Thread Starter sbcastomailkanak12wvus

    (@sbcastomailkanak12wvus)

    Yes. I am running SportsPress 2.7.22 .
    Thank you for your help.

    Plugin Contributor Savvas

    (@savvasha)

    Great. Now you must check your league tables on the backend and confirm that they do not have any non-numeric data on their fields. They should have only numbers!

    Thanks,
    Savvas

    Thread Starter sbcastomailkanak12wvus

    (@sbcastomailkanak12wvus)

    Could you guide me to where to look? As I mentioned, I’m kind of a novice at this sort of thing. I took over in 2019 and the website and league tables have worked until recently. I’m usually good at review and input if I know where to look. I’ll make the modifications when I’m next at my computer. Again, many thanks!

    Plugin Contributor Savvas

    (@savvasha)

    Based on the php error, it seems like you do not have set a default “Full time” value at SportsPress->Settings->Events/Matches->Full Time. Set there a numeric value (i.e. 90) which represents the default full time of your event (i.e. 90 minutes for soccer games).

    Thanks,
    Savvas

    Thread Starter sbcastomailkanak12wvus

    (@sbcastomailkanak12wvus)

    This worked. My League Tables are restored. Thank you for helping me. It is much appreciated!

    Plugin Contributor Savvas

    (@savvasha)

    I am glad you sorted it out ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.