Skip to main content

Questions tagged [deactivated-plugin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Plugin in still active even though it's been deactivated and deleted

I am testing out a no-right click plugin But I didn't like the look of it, so deactivated it and deleted but it still shows up on the website, ...
user234850's user avatar
1 vote
1 answer

How to stop activation addon if the main plugin is not activated

I´m writing an addon. I would like in the install function to stop the activation if the main plugin is inactive. class MyAddon { public function __construct(){ ...
J.BizMai's user avatar
  • 870
1 vote
1 answer

Is any information available in PHP files in WP about plugin activation history?

I want to identify the plugin names earlier activated on my WordPress site.
user146550's user avatar
1 vote
1 answer

Unable to to self-deactivate plugin using deactivate_plugins()

I have these plugin files: my-plugin/my-plugin.php my-plugin/my-plugin-class.php In my-plugin.php I have the following line: register_activation_hook( __FILE__, array( $my_plugin_object, '...
l_nxy's user avatar
  • 59
0 votes
1 answer

Fatal error: Call to undefined function wp_cache_get after update attempt

I received the following error after attempting to update my WordPress to the latest version Fatal error: Call to undefined function wp_cache_get() in /home/fairmftt/public_html/wp-includes/option.php ...
LaurenKendra07's user avatar
1 vote
1 answer

Plugin Deactivate Self on Activation Errors

Hi I'm wondering if someone can point me in the right direction here. I'm having trouble figuring out how deactivate_plugins() works. I've been using variations of the below for awhile now and it's ...
Bryan Willis's user avatar
  • 4,429
0 votes
2 answers

Does Deactivating a Plugin Help Anything?

Does deactivating a plugin help with any performance on your website? I mean is it worth deactivating plugins that you don't use constantly? Does uninstalling a plugin make any difference from ...
matthew's user avatar
  • 475
1 vote
3 answers

Many plugins making WordPress run slow by design?

So this is what I've read: Many plugins might get WordPress slow if they are activated Many plugins might get WordPress slow even if they are not activated!? An example Let's say I build a large ...
Jens Törnell's user avatar
17 votes
6 answers

Delete tables from database when deleting plugin

I created a plugin and want to add a function to delete my tables from the database when a user deletes my plugin. I created a function that deletes tables from the DB when a user deactivates my ...
x-y-z-select's user avatar
0 votes
1 answer

Using actions, hooks and filters in a non-WordPress page

I have a php script that sits outside of wordpress, but loads WP core with wp-load.php. Here is my basic page: <?php define('WP_USE_THEMES', false); global $wp, $wp_query, $wp_the_query, $...
Chris's user avatar
  • 453
0 votes
0 answers

All plugins deactivated. What could cause this?

I have an AWS server running four WordPress sites. All plugins have been deactivated on one of the sites and I cannot enable them. When I try enabling them in bulk, or individually, there is no ...
paradroid's user avatar
  • 195
0 votes
1 answer

Activate / Deactivate plugin

I'm working on my first plugin and am trying to use register_activation_hook() and register_deactivation_hook() ... I know I'm not doing this right: /*=================================================...
Designer 17's user avatar
0 votes
2 answers

Removed plugin generating error message

I kinda did something stupid. To test something I created a couple of plugins and during testing I think I renamed the plugin. Now I deleted the plugins but I'm still getting an error message saying ...
Scuba Kay's user avatar
  • 554
2 votes
1 answer

Programmatically disable W3 Total Cache in development environment [closed]

I've got two environments in my project: dev & production. I just want to be able to deactivate or disable W3TC in my dev environment but the plugin has no native support for this . I also can't ...
Jared Eitnier's user avatar
3 votes
1 answer

admin_notices after register_uninstall / deactivate_hook

I've successfully added admin notices to display on register_activation_hook, and when the plugin updates, but I'm not seeing any way to display admin_notices after the uninstall or deactivation hooks....
orionrush's user avatar
  • 910
2 votes
1 answer

Why does deactivating a plugin cause error: "You do not have sufficient permissions to access this page"?

We recently deactivated the bbPress plugin because we don't use it anymore. Immediately following that, no admin users can get into the dashboard without hitting the infamous: "You do not have ...
emersonthis's user avatar
  • 1,337
4 votes
2 answers

Show a confirm message before plug-in activation

I want to display a message when the user try to activate my plugin. This message will ask if him really wants to activate the plugin or, if him change his mind, cancel the activation. How can I ...
Daniel's user avatar
  • 55
3 votes
1 answer

deactivated_plugin hook: get the name of the plugin

I would like that every time any plugin previously activated, a function from my plugin be called, returning (at least) the name of the plugin, or something that allows to identify it (file name?). I ...
pixeline's user avatar
  • 2,867