Fatal error: Uncaught Error: Call to undefined function deactivate_plugins() in /Users/johngrimes/git/_plugins/wprpg-attack/vendor/jdgrimes/wpppb/src/bin/simulate-plugin-use.php on line 43
Error: Call to undefined function deactivate_plugins() in /Users/johngrimes/git/_plugins/wprpg-attack/vendor/jdgrimes/wpppb/src/bin/simulate-plugin-use.php on line 43
Call Stack:
0.0036 358256 1. {main}() /Users/johngrimes/git/_plugins/wprpg-attack/vendor/jdgrimes/wpppb/src/bin/simulate-plugin-use.php:0
This is because the deactivate_plugins() function is in wp-admin/includes/plugin.php, which isn't loaded by WordPress by default (that is, when not is_admin()).
This is because the
deactivate_plugins()
function is inwp-admin/includes/plugin.php
, which isn't loaded by WordPress by default (that is, when notis_admin()
).