• Resolved pklord

    (@pklord)


    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 7 years, 7 months ago by pklord.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Mark O’Donnell

    (@markodonnell)

    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

    (@pklord)

    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

    (@markodonnell)

    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

    (@pklord)

    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 “https://mywebsite.com/?mstw_tr_player=foo-bar?roster_type=custom”. This is causing a problem because the player is actually at the autogenerated link “https://mywebsite.com/?mstw_tr_player=foo-bar?”. 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

    (@markodonnell)

    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

    (@pklord)

    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 7 years, 7 months ago by pklord.
    Plugin Author Mark O’Donnell

    (@markodonnell)

    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

    Plugin Author Mark O’Donnell

    (@markodonnell)

    #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

    (@pklord)

    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.