WP-Roster (free) stopped working
-
PHP Version: 8.0.16
Wordpress Version: 5.9.2
Plugin Version: 2.21
Current Theme: Sports Club LiteMy page just shows blank now…was working perfectly before. Could this be related toe the WP version? If so, any plans to keep the free version up to speed with WP?
Thanks
Dave- This topic was modified 2 years, 8 months ago by Jan Dembowski.
The page I need help with: [log in to see the link]
-
More info with DEBUG on…
Warning: define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /home4/harestad/public_html/golf/wp-content/themes/sports-club-lite/functions.php on line 168 Warning: define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /home4/harestad/public_html/golf/wp-content/themes/sports-club-lite/functions.php on line 169 Warning: define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /home4/harestad/public_html/golf/wp-content/themes/sports-club-lite/functions.php on line 170 Warning: Undefined array key "roster-page" in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode.php on line 51 Warning: Undefined array key "teams" in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/functions/helper-functions.php on line 1958 Warning: Undefined array key 1 in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/functions/helper-functions.php on line 1965 Warning: Undefined array key "teams" in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/functions/helper-functions.php on line 1958 Warning: Undefined array key 1 in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/functions/helper-functions.php on line 1965 Warning: Undefined array key " " in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode-header.php on line 77 Fatal error: Uncaught TypeError: array_intersect(): Argument #2 must be of type array, null given in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode-header.php:77 Stack trace: #0 /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode-header.php(77): array_intersect(Array, NULL) #1 /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode.php(84): wp_roster_roster_header('2', 'roster') #2 /home4/harestad/public_html/golf/wp-includes/shortcodes.php(356): wp_roster_shortcode(Array, '', 'wp-roster') #3 [internal function]: do_shortcode_tag(Array) #4 /home4/harestad/public_html/golf/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(wp\\-ro...', 'do_shortcode_ta...', '[wp-roster id="...') #5 /home4/harestad/public_html/golf/wp-includes/class-wp-hook.php(307): do_shortcode('[wp-roster id="...') #6 /home4/harestad/public_html/golf/wp-includes/plugin.php(189): WP_Hook->apply_filters('[wp-roster id="...', Array) #7 /home4/harestad/public_html/golf/wp-includes/post-template.php(253): apply_filters('the_content', '[wp-roster id="...') #8 /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/templates/roster-template.php(29): the_content() #9 /home4/harestad/public_html/golf/wp-includes/template-loader.php(106): include('/home4/harestad...') #10 /home4/harestad/public_html/golf/wp-blog-header.php(19): require_once('/home4/harestad...') #11 /home4/harestad/public_html/golf/index.php(17): require('/home4/harestad...') #12 {main} thrown in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode-header.php on line 77
- This reply was modified 2 years, 8 months ago by Jan Dembowski.
Hi @dharestad,
Have you ensured that the shortcode on the page in question is the shortcode provided on the rosters tab in the plugin settings?
It’s my understand that this error occurs when there’s a shortcode utilised that doesn’t exist on the rosters tab. Please also ensure that all settings have been entered on the roster tab for the roster. I will look at implementing a code update to fix the issue, but this might be fixing an issue that under normal circumstances shouldn’t come up if a correct shortcode is used. Sorry if this assertion is incorrect on this, but it’s just what I am seeing on my end.
Thanks,
Thanks for the reply. I did confirm that I’m using the shortcode from the COPY SHORTCODE function in the plugin. Still nothing show. Appreciate any help you can provide on the coding side.
Hi @dharestad,
Can you please click the save settings button in the plugin settings as well?
Also have you tried the latest version of the plugin I released yesterday which should fix the fatal error.
Thanks,
I upgraded to WP-Roster 2.28. Saved the settings, copied the shortcode again to the page…and now I get this:
Warning: Undefined array key “roster-page” in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode.php on line 51
Warning: Undefined array key “teams” in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/functions/helper-functions.php on line 1958
Warning: Undefined array key 1 in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/functions/helper-functions.php on line 1965
Warning: Undefined array key “teams” in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/functions/helper-functions.php on line 1958
Warning: Undefined array key 1 in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/functions/helper-functions.php on line 1965
Warning: Undefined array key ” ” in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode-header.php on line 77
Warning: Undefined array key ” ” in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode-header.php on line 77
Warning: Undefined array key ” ” in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode-header.php on line 77
Warning: Undefined array key ” ” in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode-header.php on line 151
Fatal error: Uncaught TypeError: array_intersect(): Argument #2 must be of type array, null given in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode-header.php:151 Stack trace: #0 /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode-header.php(151): array_intersect(Array, NULL) #1 /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode.php(90): wp_roster_roster_header(‘2’, ‘roster’) #2 /home4/harestad/public_html/golf/wp-includes/shortcodes.php(356): wp_roster_shortcode(Array, ”, ‘wp-roster’) #3 [internal function]: do_shortcode_tag(Array) #4 /home4/harestad/public_html/golf/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(wp\\-ro…’, ‘do_shortcode_ta…’, ‘[wp-roster id=”…’) #5 /home4/harestad/public_html/golf/wp-includes/class-wp-hook.php(307): do_shortcode(‘[wp-roster id=”…’) #6 /home4/harestad/public_html/golf/wp-includes/plugin.php(189): WP_Hook->apply_filters(‘[wp-roster id=”…’, Array) #7 /home4/harestad/public_html/golf/wp-includes/post-template.php(253): apply_filters(‘the_content’, ‘[wp-roster id=”…’) #8 /home4/harestad/public_html/golf/wp-content/themes/hello-elementor/template-parts/single.php(24): the_content() #9 /home4/harestad/public_html/golf/wp-includes/template.php(772): require(‘/home4/harestad…’) #10 /home4/harestad/public_html/golf/wp-includes/template.php(716): load_template(‘/home4/harestad…’, false, Array) #11 /home4/harestad/public_html/golf/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #12 /home4/harestad/public_html/golf/wp-content/themes/hello-elementor/index.php(21): get_template_part(‘template-parts/…’) #13 /home4/harestad/public_html/golf/wp-includes/template-loader.php(106): include(‘/home4/harestad…’) #14 /home4/harestad/public_html/golf/wp-blog-header.php(19): require_once(‘/home4/harestad…’) #15 /home4/harestad/public_html/golf/index.php(17): require(‘/home4/harestad…’) #16 {main} thrown in /home4/harestad/public_html/golf/wp-content/plugins/wp-roster/inc/shortcode/roster-shortcode-header.php on line 151`
Hi @dharestad,
Please try the latest version just released then. This will fix the issue and I have been able to repeat and resolve the issue on my end so I am confident it will work for you ??
It works ! Thank you so much for your time on this. Much appreciated. Great plugin…unique and perfect for our use-case. Very hard to find something that does what it does. Perfect for our little golf group to signup for golfing tee times that we book in advance.
Fantastic to hear, and sorry for the hassle with the technical issue, I appreciate your patience with me ??
- The topic ‘WP-Roster (free) stopped working’ is closed to new replies.