I use the same functions, i follow the same path right down the line.
I know that the process starts with the plugins.php file and then calls the plugin_service.php file which deactivates the plugin, and i see nothing different in the process regarding the name of the plugin, they all follow the same process.
However i can deactivate all plugins via my plugin and all process perfectly with no issue at all with the exception of notifications and mailbox. For some reason when these two are deactivated the plugin manager checks them and sees they are not active and tosses an exception and i have looked high and low and i cannot seem to find any process during the deactivation process which isolates these two plugins for special instruction. There is nothing inside of the deactivation files either.
I am at my wits end here, for anyone that can help me figure this out ill give a copy of every one of my plugins to them for free. I need to update them first, most are fine but two that i know of need a tiny nip and tuck here and there is all. But i need to finish this first and get it uploaded.
I could just leave these two plugins out of the process and just have the user deactivate them via the link as normal, but this is really bugging me and i want to know why.
Thanks
Dave