Title: Plugin update causing problems in admin panel
Last modified: April 6, 2017

---

# Plugin update causing problems in admin panel

 *  Resolved [pklord](https://wordpress.org/support/users/pklord/)
 * (@pklord)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/plugin-update-causing-problems/)
 * Hello!
 * After your plugin updated I started receiving some warnings in my admin dashboard
   which has caused unpredictable behavior in some of the admin panels.
 *     ```
       Warning: include_once(mstw-tr-team-roster-admin-class.php): failed to open stream: No such file or directory in /home/atounc90/public_html/wp-content/plugins/team-rosters/includes/mstw-tr-admin.php on line 61
   
       Warning: include_once(): Failed opening 'mstw-tr-team-roster-admin-class.php' for inclusion (include_path='.:/usr/local/php56/pear') in /home/atounc90/public_html/wp-content/plugins/team-rosters/includes/mstw-tr-admin.php on line 61
   
       Warning: include_once(mstw-tr-team-cpt-admin-class.php): failed to open stream: No such file or directory in /home/atounc90/public_html/wp-content/plugins/team-rosters/includes/mstw-tr-admin.php on line 65
   
       Warning: include_once(): Failed opening 'mstw-tr-team-cpt-admin-class.php' for inclusion (include_path='.:/usr/local/php56/pear') in /home/atounc90/public_html/wp-content/plugins/team-rosters/includes/mstw-tr-admin.php on line 65
   
       Warning: include_once(mstw-tr-team-tax-admin-class.php): failed to open stream: No such file or directory in /home/atounc90/public_html/wp-content/plugins/team-rosters/includes/mstw-tr-admin.php on line 67
   
       Warning: include_once(): Failed opening 'mstw-tr-team-tax-admin-class.php' for inclusion (include_path='.:/usr/local/php56/pear') in /home/atounc90/public_html/wp-content/plugins/team-rosters/includes/mstw-tr-admin.php on line 67
       ```
   
 * I had not changed the site otherwise. Ideas?
    -  This topic was modified 9 years, 2 months ago by [pklord](https://wordpress.org/support/users/pklord/).

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/plugin-update-causing-problems/#post-9003407)
 * Yes. I fat fingered the repository (SVN) and three files were omitted from the
   build. Try re-installing now. You should be good to go. (And please let me know.)
 * -Mark
 *  Thread Starter [pklord](https://wordpress.org/support/users/pklord/)
 * (@pklord)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/plugin-update-causing-problems/#post-9004177)
 * All appears to be good except for an error on my team rosters setting page.
 * `Warning: call_user_func() expects parameter 1 to be a valid callback, function'
   mstw_build_admin_edit_field' not found or invalid function name in /home/atounc90/
   public_html/wp-admin/includes/template.php on line 1343`
 * Thanks so much for your help!
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/plugin-update-causing-problems/#post-9008072)
 * Thank you. I’m not sure what’s going on, but I’m not getting along with the WordPress
   plugin repository. Try installing the new version 4.1.1. I hope I got it right
   this time.
    Sorry ’bout that. -Mark
 *  Thread Starter [pklord](https://wordpress.org/support/users/pklord/)
 * (@pklord)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/plugin-update-causing-problems/#post-9008168)
 * Everything appears to be working now as far as a lack of errors goes!
 * I have a question however and a possible feature addition.
 * Why when clicking on a profile from any sort of view (table or gallery) does 
   the plugin append the roster type to the URL? For example, I click on a player
   and I get “[http://mywebsite.com/?mstw_tr_player=foo-bar?roster_type=custom&#8221](http://mywebsite.com/?mstw_tr_player=foo-bar?roster_type=custom&#8221);.
   This is causing a problem because the player is actually at the autogenerated
   link “[http://mywebsite.com/?mstw_tr_player=foo-bar?&#8221](http://mywebsite.com/?mstw_tr_player=foo-bar?&#8221);.
   I have gotten this behavior to go away seemingly on occasion but I don’t know
   why/how.
 * As for a feature addition, when renaming the data fields & table column labels,
   it would be amazing if upon saving the labels got updated in the settings too.
   The reason I suggest this is because I am currently designing a site to be passed
   off to future admins and I want things to be clear as possible. IE I’d rather
   avoid having to explain that the “Position” label is actually for “Games Played”
   for example.
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/plugin-update-causing-problems/#post-9008258)
 * 1. Great.
 * 2. What is supposed to happen is that if you set the roster type to baseball,
   then ALL the displays reflect that – tables, profiles and galleries. So you will
   see Bats/Throws in all the displays, but not in those for non-baseball rosters.
   These “types” simply came from looking at what various sites produced for pro,
   college, high school across the various sports. Truthfully, I need to go back
   and re-test all this.
 * 3. I agree. I’ve gone back and forth on this. Does it not do it currently? There
   are a couple of ‘gotchas’ but it’s a pretty easy fix.
 * Thanks.
    -Mark
 *  Thread Starter [pklord](https://wordpress.org/support/users/pklord/)
 * (@pklord)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/plugin-update-causing-problems/#post-9008326)
 * 2. This does not seem to work, having a roster type of custom does not set the
   links to a player to have its roster type of custom as well.
 * EDIT: Now it seems to be linking correctly to profiles and not appending the 
   roster type to the URL. I haven’t changed anything so not sure why it is working!
 * 3. For example, one of the fields I want in my profile is Major/Minor. I’ve renamed
   the age label in settings to Major/Minor. When editing a player, the fields’ 
   label remains Age. If Age could actually be updated to Major/Minor in the settings
   and not just on the player display page, that would be excellent. So yes currently
   it does change the label on the actual player page but not in the players settings
   page.
 * Does that make sense?
    -  This reply was modified 9 years, 2 months ago by [pklord](https://wordpress.org/support/users/pklord/).
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/plugin-update-causing-problems/#post-9010765)
 * Makes sense.
 * 2. I have to go back and re-test the roster types including ‘custom’.
 * 3. This is not a big problem. When do you need it?
 * Actually, it would help a lot if you could start a separate thread for each of
   these issues. That will help me track them, and other admins find them.
 * Thanks.
 * -Mark
    -  This reply was modified 9 years, 2 months ago by [Mark O'Donnell](https://wordpress.org/support/users/markodonnell/).
 *  Plugin Author [Mark O’Donnell](https://wordpress.org/support/users/markodonnell/)
 * (@markodonnell)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-update-causing-problems/#post-9024784)
 * #2 Works just fine for me for all roster types include custom and blank (which
   defaults to custom)
 * NOTE: The one exception is weight, which if hidden will be removed from all roster
   types in deference to woman’s teams that frequently omit it.
 *  Thread Starter [pklord](https://wordpress.org/support/users/pklord/)
 * (@pklord)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-update-causing-problems/#post-9039514)
 * Finally fixed the linking issue. I had to change my permalinks settings to “post
   name” instead of plain. Everything appears to be good! Thanks for all your help!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Plugin update causing problems in admin panel’ is closed to new replies.

 * ![](https://ps.w.org/team-rosters/assets/icon-128x128.png?rev=1087838)
 * [Team Rosters](https://wordpress.org/plugins/team-rosters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/team-rosters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/team-rosters/)
 * [Active Topics](https://wordpress.org/support/plugin/team-rosters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/team-rosters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/team-rosters/reviews/)

## Tags

 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [Installation Problems](https://wordpress.org/support/topic-tag/installation-problems/)

 * 9 replies
 * 2 participants
 * Last reply from: [pklord](https://wordpress.org/support/users/pklord/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-update-causing-problems/#post-9039514)
 * Status: resolved