The free plugin can halt its execution when an exception is caught, so functions like PublishPress\Future\uninstall\uninstallFree can not be available.
[12-Nov-2024 20:39:40 UTC] PHP Fatal error: Uncaught Error: Call to undefined function PublishPress\Future\uninstall() in /Users/andersonmartins/LocalSites/future-pro/app/public/wp-content/plugins/publishpress-future-pro/src/includes/uninstall.php:21
Stack trace:
#0 /Users/andersonmartins/LocalSites/future-pro/app/public/wp-includes/class-wp-hook.php(324): PublishPress\FuturePro\uninstall(false)
#1 /Users/andersonmartins/LocalSites/future-pro/app/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#2 /Users/andersonmartins/LocalSites/future-pro/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /Users/andersonmartins/LocalSites/future-pro/app/public/wp-admin/includes/plugin.php(826): do_action('deactivate_publ...', false)
#4 /Users/andersonmartins/LocalSites/future-pro/app/public/wp-admin/plugins.php(211): deactivate_plugins('publishpress-fu...', false, false)
#5 {main}
thrown in /Users/andersonmartins/LocalSites/future-pro/app/public/wp-content/plugins/publishpress-future-pro/src/includes/uninstall.php on line 21
The free plugin can halt its execution when an exception is caught, so functions like
PublishPress\Future\uninstall\uninstallFree
can not be available.