Check your server logs and see what the critical error is.
Thanks, I was fixed this problem.
Hello @foomagoo
I fix some code of the “Uninstall.php”
Step 1:
Change
$wpdb->query(“DROP TABLE IF EXISTS “.$wpdb->prefix.'”FC_captcha_store”);
To
$wpdb->query(“DROP TABLE IF EXISTS “.$wpdb->prefix.”FC_captcha_store”);
Step 2:
Add Code:
require_once(WP_PLUGIN_DIR . “/” . plugin_basename(dirname(__FILE__)) . “/lib/FlexibleCaptcha.class.php”);
$Captcha_fontDirectory = new FlexibleCaptcha(__FILE__);
Change
if (is_array(get_option(‘FC_uploaded_fonts’))) {
foreach(get_option(‘FC_uploaded_fonts’) as $fontFile) {
if (file_exists($this->fontDirectory . $fontFile)) {
@unlink($this->fontDirectory . $fontFile);
}
}
delete_option(‘FC_uploaded_fonts’);
}
if (file_exists($this->fontDirectory)) {
@unlink($this->fontDirectory);
}
To
if (is_array(get_option(‘FC_uploaded_fonts’))) {
foreach(get_option(‘FC_uploaded_fonts’) as $fontFile) {
if (file_exists($Captcha_fontDirectory->fontDirectory . $fontFile)) {
@unlink($Captcha_fontDirectory->fontDirectory . $fontFile);
}
}
delete_option(‘FC_uploaded_fonts’);
}
if (file_exists($Captcha_fontDirectory->fontDirectory)) {
@unlink($Captcha_fontDirectory->fontDirectory);
}
I can’t remove the plugin either.
is there a simple way because I don’t understand any of this?
-
This reply was modified 6 months, 2 weeks ago by
desmetjozef.
Update the plugin to version 4.1 and the uninstall should work.