Hi @kazitihum ,
I’ve tested on 2 very different installs on two different servers, and the error was the same. So, I’m convinced you’ll get it by trying on your own wordpress install (I believe this isn’t dependent on a particular situation).
But here is the debug log if it can help:
[17-Nov-2021 06:13:53 UTC] PHP Notice: Trying to access array offset on value of type bool in /var/www/html/xyz/wp-content/plugins/adunlocker/uninstall.php on line 221
[17-Nov-2021 06:13:53 UTC] PHP Fatal error: Uncaught TypeError: Return value of AdUnlocker\Uninstall::get_uninstall_mode() must be of the type string, null returned in /var/www/html/xyz/wp-content/plugins/adunlocker/uninstall.php:221
Stack trace:
#0 /var/www/html/xyz/wp-content/plugins/adunlocker/uninstall.php(54): AdUnlocker\Uninstall->get_uninstall_mode()
#1 /var/www/html/xyz/wp-content/plugins/adunlocker/uninstall.php(239): AdUnlocker\Uninstall->__construct()
#2 /var/www/html/xyz/wp-content/plugins/adunlocker/uninstall.php(250): AdUnlocker\Uninstall::get_instance()
#3 /var/www/html/xyz/wp-admin/includes/plugin.php(1248): include_once(‘/var/www/html/..’)
#4 /var/www/html/xyz/wp-admin/includes/plugin.php(965): uninstall_plugin()
#5 /var/www/html/xyz/wp-admin/includes/ajax-actions.php(4598): delete_plugins()
#6 /var/www/html/xyz/wp-includes/class-wp-hook.php(303): wp_ajax_delete_plugin()
#7 /var/www/html/xyz/wp-includes/class- in /var/www/html/xyz/wp-content/plugins/adunlocker/uninstall.php on line 221`
Regards