Bug #4638
closedCatList Deactivated - Shortcodes Not Working
0%
Description
Hi,
I am getting the following error message on the plug-in backend of MurphyInstituteBlog.org:
"The plugin list-category-posts/list_cat_posts.php has been deactivated due to an error: Plugin file does not exist."
This plug-in error has resulted in shortcodes not working on:
http://murphyinstituteblog.org/labor-and-community-job-opportunities/
http://murphyinstituteblog.org/jobs-at-murphy/
http://murphyinstituteblog.org/all-opportunities/
Thanks for anything you can do to help.
Leah
Updated by Boone Gorges about 9 years ago
- Category name set to WordPress Plugins
- Status changed from New to Resolved
- Assignee set to Boone Gorges
- Target version set to Not tracked
Hi Leah - Thanks for reporting this so quickly. The problem stems from the release, about an hour ago, in which the list-category-posts plugin was updated to the latest version. The plugin developer renamed the main plugin file from list_cat_posts.php to list-category-posts.php. WordPress identifies active plugins using this filename, so when the filename was changed, WP assumed that the plugin was deactivated.
I wrote and ran a script that corrected the problem across the network. (https://gist.github.com/boonebgorges/25ba440369b875372656, for future reference.)
The script doesn't work on sites where the plugin has already been deactivated. As you found out, WordPress will deactivate a "lost" plugin when you visit plugins.php. So I've manually reactivated the plugin on the murphyinstituteblog.org website. This probably only affected you, since the release just went live a few minutes ago (and, as noted, you had to visit wp-admin/plugins.php to make the deactivation stick).
Let me know if you continue to have problems.
Updated by Leah Feder about 9 years ago
Great, thank you so much for the quick fix & reply!