Title: Error in plugin
Last modified: July 24, 2020

---

# Error in plugin

 *  Resolved [mheiselberg](https://wordpress.org/support/users/mheiselberg/)
 * (@mheiselberg)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-in-plugin-29/)
 * I just upgraded the plugin and now I cannot do anything on my site. It just displays
   these error codes.
 * Warning: Use of undefined constant _FILE_ – assumed ‘_FILE_’ (this will throw
   an Error in a future version of PHP) in …/plugins/delete-all-comments-of-website/
   delete-all-comments-of-wordpress-website.php on line 13
 * Warning: Cannot modify header information – headers already sent by (output started
   at …/plugins/delete-all-comments-of-website/delete-all-comments-of-wordpress-
   website.php:13) in …/wp-includes/pluggable.php on line 1281
 * I will probably just reinstall wordpress as I was redoing my site anyway, so 
   this is just a warning to others and a heads up to the plugin creator.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [royalnavneet](https://wordpress.org/support/users/royalnavneet/)
 * (@royalnavneet)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-in-plugin-29/#post-13179678)
 * [@mheiselberg](https://wordpress.org/support/users/mheiselberg/) thanks for the
   report it will be fix and update today.
    Thanks
 *  [JB-1985](https://wordpress.org/support/users/jb-1985/)
 * (@jb-1985)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-in-plugin-29/#post-13278983)
 * When will the fix be published?
 * In Version 2.6 is the bug still available.
 *  AH01071: Got error ‘PHP message: PHP Warning: Use of undefined constant _FILE_–
   assumed ‘_FILE_’ (this will throw an Error in a future version of PHP) in /var/
   www/wp-content/plugins/delete-all-comments-of-website/delete-all-comments-of-
   wordpress-website.php on line 13′,
 *  [consultus](https://wordpress.org/support/users/consultus/)
 * (@consultus)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-in-plugin-29/#post-13289675)
 * Hello,
 * same problem for me: Just updated the plugin on my site [https://consultus.org](https://consultus.org),
   and now I cannot access the site anymore. When I go to the WP login page, I get:
 * Warning: Use of undefined constant _FILE_ – assumed ‘_FILE_’ (this will throw
   an Error in a future version of PHP) in /kunden/165714_10437/webseiten/cus/wp-
   content/plugins/delete-all-comments-of-website/delete-all-comments-of-wordpress-
   website.php on line 13
 * Warning: Cannot modify header information – headers already sent by (output started
   at /kunden/165714_10437/webseiten/cus/wp-content/plugins/delete-all-comments-
   of-website/delete-all-comments-of-wordpress-website.php:13) in /kunden/165714_10437/
   webseiten/cus/wp-includes/pluggable.php on line 1265
 * Warning: Cannot modify header information – headers already sent by (output started
   at /kunden/165714_10437/webseiten/cus/wp-content/plugins/delete-all-comments-
   of-website/delete-all-comments-of-wordpress-website.php:13) in /kunden/165714_10437/
   webseiten/cus/wp-includes/pluggable.php on line 1268
 * The site itself can still be accessed by users, but it also shows an ugly warning
   message on top. Please URGENTLY fix this – this is my business site! I am losing
   customers if the site doesn’t work properly.
 * I deleted the “Delete all comments” plugin before logging out, but that didn’t
   help.
 *  [JB-1985](https://wordpress.org/support/users/jb-1985/)
 * (@jb-1985)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-in-plugin-29/#post-13291282)
 * [@consultus](https://wordpress.org/support/users/consultus/) deactivate the debug
   modus. Set it from true to false.
 * See here how to do this: [https://www.jaba.hosting/hrf_faq/debug-modus-aktivieren/](https://www.jaba.hosting/hrf_faq/debug-modus-aktivieren/)
 *  [consultus](https://wordpress.org/support/users/consultus/)
 * (@consultus)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-in-plugin-29/#post-13291490)
 * [@jb-1985](https://wordpress.org/support/users/jb-1985/) Thank you! But how do
   I do this if I can’t log into my site at [https://consultus.org/cus/wp-admin/](https://consultus.org/cus/wp-admin/)?
 *  [JB-1985](https://wordpress.org/support/users/jb-1985/)
 * (@jb-1985)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-in-plugin-29/#post-13291502)
 * [@consultus](https://wordpress.org/support/users/consultus/) via FTP.
 * Download the wp-config.php, edit and upload and replace with the old wp-config.
   php.
 *  [consultus](https://wordpress.org/support/users/consultus/)
 * (@consultus)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-in-plugin-29/#post-13304288)
 * [@jb-1985](https://wordpress.org/support/users/jb-1985/) Sorry to be a pest but…
   I checked via FTP and it turns out the debug mode is already set to “false”. 
   So this won’t help.
 * But I also noticed that the plugin “delete-all-comments-of-website” is still 
   listed under /webseiten/cus/wp-content/plugins. What if I simply deleted that
   entire folder via FTP? Should solve the problem, shouldn’t it?
 * Or can I do more damage?
    Cheers!
 *  [JB-1985](https://wordpress.org/support/users/jb-1985/)
 * (@jb-1985)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-in-plugin-29/#post-13304893)
 * Yes, delete the Plugin via FTP from /webseiten/cus/wp-content/plugins

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Error in plugin’ is closed to new replies.

 * ![](https://ps.w.org/delete-all-comments-of-website/assets/icon-256x256.png?rev
   =1228543)
 * [Comment Cleaner — Bulk Delete & Disable Comments](https://wordpress.org/plugins/delete-all-comments-of-website/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/delete-all-comments-of-website/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/delete-all-comments-of-website/)
 * [Active Topics](https://wordpress.org/support/plugin/delete-all-comments-of-website/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/delete-all-comments-of-website/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/delete-all-comments-of-website/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [JB-1985](https://wordpress.org/support/users/jb-1985/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/error-in-plugin-29/#post-13304893)
 * Status: resolved