I have been alerted to an annoying bug in MSTW League Manager v2.4 by a member of the MSTW community. (Thanks Michael.) If you are seeing messages like:
Warning: include_once(mstw-lm-duplicate-teams-class.php): failed to open stream: No such file or directory in /your-site/wp-content/plugins/mstw-league-manager/includes/mstw-lm-admin.php on line 98
Warning: include_once(): Failed opening ‘mstw-lm-duplicate-teams-class.php’ for inclusion (include_path=’.:/usr/local/php56/pear’) in /your-site/wp-content/plugins/mstw-league-manager/includes/mstw-lm-admin.php on line 98
on your live site or your admin dashboard. They are caused by my carelessness in releasing the build. (Chalk it up to “trying to do too many things at once”.)
Other than being annoying, these warnings do not indicate any dysfunction in the plugin. So if you haven’t seen them, don’t worry about it. But if they are annoying you and you’d like to eliminate them, there are three ways to do so:
- If you are code savvy, you can open the
mstw-lm-admin.phpfile in your site’s
plugins/mstw-league-manager/includesdirectory and remark out line 98 that includes the mstw-lm-duplicate-teams-class.php file.
- Pull the
mstw-lm-admin.phpfile from the development trunk on wordpress.org ( https://plugins.svn.wordpress.org/mstw-league-manager/trunk/includes/ ). Right click on the file and select
Save Link Asfrom the pop-up menu. This is download the file to the location you choose.
- De-activate and delete the plugin from your site, and re-install and re-activate it.