Support » Plugin: Team Rosters » Data Fields & Columns settings not sticking

  • In “settings-Data Fields & Columns”, I want to enable some stuff (year, other, etc) and disable others (height/weight). When I try to show/hide each label/field, then hit save, it says “updated” on the top of the page, but all my selections are reset to default. Any suggestions?

    I am running PHP version PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS )

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Mark O’Donnell

    (@markodonnell)

    This appears to be an issue. Check out this thread. https://wordpress.org/support/topic/cannot-save-settings-12/

    I have tried on both my boxes, and it seems to be fine. So I have no idea what’s going on. But I will check it out again.

    One thing you might try is to activate your debug log (https://codex.wordpress.org/Debugging_in_WordPress) and see if you get any notices or warnings.

    -Mark

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Another idea. It’s a pain in the butt, but you could create your custom rosters using the shortcode arguments.

    Lots of errors here when enabled debugging, can you make any sense of it?

    Warning: array_key_exists() expects parameter 2 to be array, string given in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 237

    Warning: Illegal string offset ‘show_photos’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘photo_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘show_number’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘number_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘name_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘show_position’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘position_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘show_height’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘height_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘show_weight’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘weight_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘show_year’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘year_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘show_experience’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘experience_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘show_age’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘age_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘show_home_town’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘home_town_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘show_last_school’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘last_school_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘show_country’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘country_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘show_bats_throws’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘bats_throws_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘show_other_info’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Illegal string offset ‘other_info_label’ in /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php on line 283

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-content/plugins/team-rosters/includes/mstw-tr-settings.php:283) in /var/www/html/wp-includes/pluggable.php on line 1223

    Plugin Author Mark O’Donnell

    (@markodonnell)

    I’m running Team Rosters 4.1.3, WordPress 5.0.3, and PHP 5.6.36 on one box, and 4.1.3, 4.9.9, 7.1.13 on the other. No problems saving settings on any of the four tabs and no messages in the debug.log file.

    So I remain stumped. Until I can replicate it, I can’t fix it.

    Plugin Author Mark O’Donnell

    (@markodonnell)

    Yes. This log info helps. Thank you. Stay tuned.

    Plugin Author Mark O’Donnell

    (@markodonnell)

    It’s all coming back to me now. I fixed this on my dev boxes, and in the development trunk awhile ago, but I never committed the changes to a build. 4.1.4 is now released. You should see it on your dashboard. Hopefully it fixes your problem.

    -Mark

    You the man, works perfect. Got it showing exactly how I need. Looks perfect now, very happy with the settings.

    Appreciate the great plugin and support. It’s awesome.

    Plugin Author Mark O’Donnell

    (@markodonnell)

    No worries. I’m very glad you helped me remember I had fixed this.

    If you like it, please post a review. Thanks.

    -Mark

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Data Fields & Columns settings not sticking’ is closed to new replies.