SOLVED Account can't be terminated

cmakin

Registered
Oct 12, 2021
4
0
76
United Kingdom
cPanel Access Level
Root Administrator
cPanel version - v98.0.9

I can't terminate an account. The following error occurs.

Hook denied execution of killacct: Failed to handle event Accounts::Remove. Error: We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. sudo: no tty present and no askpass program specified Password change aborted.

Any Ideas?
Regards
Craig
 

cmakin

Registered
Oct 12, 2021
4
0
76
United Kingdom
cPanel Access Level
Root Administrator
If this helps anyone, I had to disable Wordpress Toolkit in Manage Hooks Accounts Remove:: /usr/local/cpanel/3rdparty/wp-toolkit/bin/handle-event.

WP Toolkit was no longer on the server.