What to do when your WordPress plugin breaks?
WordPress plugin troubleshooting and figuring out what to do when your site breaks aren’t things general WordPress users want to deal with, but they’re inevitable when you use the platform on a regular basis. Some WordPress plugins are coded poorly to begin with, which can cause problems as soon as you install them.
How to call WP _ get _ current _ user ( ) in a plugin?
To add to @EAMann’s answer, you need to wrap your wp_get_current_user () call (or any call that tries to access a function defined within pluggable.php) within the ‘plugins_loaded’ action. So, if you’re putting this inside your functions.php file, do it like this:
What happens when a plugin conflicts with WordPress?
Sometimes, plugins will conflict with WordPress or with another plugin. When this happens, your site will either start acting ‘strangely’, the plugin doesn’t function the way it’s supposed to, or you get the dreaded “White Screen of Death”. The first time this happened to me, I admit, I almost cried.
Why is my WP Super cache plugin not working?
Working backwards from that bit of text, this tells me the issue is with the wp-cache.php file in the WP Super Cache plugin folder. Bottom line, the WP Super Cache plugin is causing the problem. This error message may be written across somewhere on the site or the backend of WordPress.
Why does WordPress deactivate plugins when not in Admin area?
Basically, WordPress looks for a folder called plugins to load the plugin files. When it does not find the folder, it automatically disables the active plugins in the database. Usually, this method is used when you are locked out of your admin area.
What happens when plugins don’t work well?
When plugins don’t work well with other plugins or themes you have a ‘plugin conflict’. WordPress plugins can often ‘throw errors’ or cause conflicts with other plugins or themes since they are made by many different 3rd parties.
What to do if your WordPress plugin is locked out?
This may be the only option you have if you are locked out of your Admin login. The best way to delete the plugin is by deleting the whole folder that the plugin created within your plugin directory on the remote server.