function deactivate_plugins does not exist

The file wp-admin/includes/plugin.php is not always included. You may have to do this in your plugin.

And your Location header is invalid: You have to send a complete URL.

You should use:

require_once( ABSPATH . 'wp-admin/includes/plugin.php' );

When do you call this function? Maybe too early.

Leave a Comment

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş