This is the error message we get:
Ein Fehler vom Typ E_ERROR wurde in der Zeile 33 der Datei /home/helveti3/public_html/wp/wp-content/themes/helvetiarockt/inc/taxonomies/season.php verursacht. Fehlermeldung: Uncaught Error: Call to a member function get_podcast_tax_capabilities() on null in /home/helveti3/public_html/wp/wp-content/themes/helvetiarockt/inc/taxonomies/season.php:33
Stack trace: 0 /home/helveti3/public_html/wp/wp-includes/class-wp-hook.php(324): ssp_register_seasons(”) 1 /home/helveti3/public_html/wp/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 2 /home/helveti3/public_html/wp/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 3 /home/helveti3/public_html/wp/wp-settings.php(695): do_action(‘init’) 4 /home/helveti3/public_html/wp/wp-config.php(84): require_once(‘/home/helveti3/…’) 5 /home/helveti3/public_html/wp/wp-load.php(50): require_once(‘/home/helveti3/…’) 6 /home/helveti3/public_html/wp/wp-admin/admin-ajax.php(22): require_once(‘/home/helveti3/…’) 7 {main}
thrown
The line 33 mentioned in the error message is: 'capabilities' => ssp_app()->get_service( 'roles_handler' )->get_podcast_tax_capabilities(),
Can you help us to update the code so it works with the newest plugin version?
Thanks!
Regards, Nina
]]>I created my own system to make BO3 matches. But the problem I have now is that I only want to show the BO3 games on the team pages and not the matches in the BO3. Now all the matches are showing. So I would like to change team-events.php so it only shows the seasons I specify. In this way I can remove all the “Single matches” in BO3 from the team page.
This is the code i have right now.
echo '<h4 class="sp-table-caption">Resultat</h4>';
if ( 'calendar' === $format ) {
sp_get_template( 'event-calendar.php', array( 'team' => $id ) );
} elseif ( 'list' === $format ) {
$args = array(
'team' => $id,
'league' => apply_filters( 'sp_team_events_league', 0 ),
'season' => apply_filters( 'sp_team_events_season', 0 ),
'status' => 'publish',
'title_format' => 'homeaway',
'time_format' => 'separate',
'columns' => array( 'event', 'results', 'venue' ),
'order' => 'DESC',
);
$args = apply_filters( 'sp_team_events_list_args', $args );
sp_get_template( 'event-list.php', $args );
} else {
sp_get_template( 'event-fixtures-results.php', array( 'team' => $id ) );
}
Then the problem becomes that it is unable to read that there are several seasons. So, for example, if I change this.
'season' => array( 127, 129),
It will not work.
I’ve tried a couple of different solutions. The problem I always run into is that it can’t really read more than 1 season.
My question is therefore if there is a block somewhere in the code that makes it unable to read more the one season? Or I’m doing something wrong?
I know you won’t help with the code, but since you know it best, it would make it easier if I could get an answer to whether it is even possible to solve and where I should look for the solution, as I am at a complete standstill after trying a lot of different things and spent 2 months on this.
If it is the case that I am not allowed to ask questions like this, you can absolutely remove this question.
Thanks!
I have a list of players and their goals and games played for multiple seasons side by side on a page.
I.E
2022 2021 2020 2019
Player G GP Player G GP Player G GP Player G GP
I can re-arange the list for particular season if I click Player name of GP at the top.
Is there a way I can make every season re-arange when a user clicks one of the column headings.
E.G if he wants to order it by player name, so he can see all his year stats side by side with his name in the same spot.
Thanks
]]>It was reported to us that the page above is suddenly showing “Season 1”, in Apple Podcasts. I am unable to find where to change the season settings in either the post or in the general settings, for the show. We are currently using version 8.4.7. Please let me know if there’s any additional information you need.
]]>So, I’m writting this because I have a big dilema about how a season change works. So my question is: If a team goes to a higher or lower division to the season 21/22, it will be appearing also in the division where they played last year? Like, imagine my team is in the gold division and we go down to silver next year. I want to keep the results of last year, but I don’t want my team to appear in the Gold Division any longer. I don’t know if I have to reset the season in the team’s page or something. Thanks in advance.
]]>I’m having an issue where I cant set rates due to the dropdown box for the seasons not working, I’ve tried reinstalling the plugin but encountered the same issue. Has anyone else experienced this and is there a fix?
Thanks in advance
Tommy
I am now using Sportspress for the current season and it works perfectly.
Now I want to show the previous seasons also with Sportspress. But this seems to be a hard work. Do I really have to link each player individually to each season? Or is there a possibility to do this for multiple players at once?
Hope I could clarify the issue
Cheers, Rainer
]]>