Deletion failed: There has been a critical error on this website.

[ad_1]

Hi,

I’ve deactivated and tried to uninstall DCL, but I can’t. It shows this error:

Deletion failed: There has been a critical error on this website.Learn more about troubleshooting WordPress.

WP-Debug shows this:

[24-Sep-2022 18:45:39 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "DCL_DIR" in /www/htdocs/domain.com/wp-content/plugins/disqus-conditional-load/uninstall.php:28
Stack trace:
#0 /www/htdocs/domain.com/wp-admin/includes/plugin.php(1241): include_once()
#1 /www/htdocs/domain.com/wp-admin/includes/plugin.php(958): uninstall_plugin('disqus-conditio...')
#2 /www/htdocs/domain.com/wp-admin/includes/ajax-actions.php(4668): delete_plugins(Array)
#3 /www/htdocs/domain.com/wp-includes/class-wp-hook.php(307): wp_ajax_delete_plugin('')
#4 /www/htdocs/domain.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#5 /www/htdocs/domain.com/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#6 /www/htdocs/domain.com/wp-admin/admin-ajax.php(187): do_action('wp_ajax_delete-...')
#7 {main}
  thrown in /www/htdocs/domain.com/wp-content/plugins/disqus-conditional-load/uninstall.php on line 28

Other than that, the site runs just fine and also the Health Check doesn’t show anything. I’ve tried changing themes already to a standard one like Twenty Twenty Two, deactivated caching etc. but it doesn’t work. How can I succeed?

Thanks and best regards,
eC

  • This topic was modified 14 minutes ago by .
  • This topic was modified 14 minutes ago by .
  • This topic was modified 12 minutes ago by James Huff.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer