Title: plugin PHP compatible with 7-73?
Last modified: November 22, 2019

---

# plugin PHP compatible with 7-73?

 *  Resolved [ChangeAgent](https://wordpress.org/support/users/changeagent/)
 * (@changeagent)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-php-compatible-with-7-73/)
 * I am running PHP 7-71 (7.1.32) presently. If I update to any higher version my
   site throws errors. Could this be this plugin? I am asking as the PHP Compatibility
   Checker seems to be unable to scan it and/or seems to think it is not working
   properly.

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

 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-php-compatible-with-7-73/#post-12164714)
 * Hi [@changeagent](https://wordpress.org/support/users/changeagent/),
 * I just installed Wordfence on my local machine running on PHP 7.3, and I don’t
   get any site errors.
 * Can you find the PHP error_log and see what error message is being generated 
   when you’re using a higher PHP version? It’s possible that it’s not Wordfence
   causing the errors.
 * Dave
 *  Thread Starter [ChangeAgent](https://wordpress.org/support/users/changeagent/)
 * (@changeagent)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-php-compatible-with-7-73/#post-12164759)
 * Hi Dave, thanks.
 * errors are displayed directly in the browser. earlier i was getting:
 * Warning: Use of undefined constant ‘DISALLOW_FILE_EDIT’ – assumed ‘‘DISALLOW_FILE_EDIT’’(
   this will throw an Error in a future version of PHP) in /kunden/xyz-xyz/Website
   123/wp-config.php on line 97
 * Warning: Cannot modify header information – headers already sent by (output started
   at /kunden/xyz-xyz/Website 123/wp-config.php:97) in /kunden/xyz-xyz/Website 123/
   Name_of_website/wp-includes/functions.php on line 5946
 * Warning: Cannot modify header information – headers already sent by (output started
   at /kunden/xyz-xyz/Website 123/wp-config.php:97) in /kunden/xyz-xyz/Website 123/
   Name_of_website/wp-admin/includes/misc.php on line 1252
 * Warning: Cannot modify header information – headers already sent by (output started
   at /kunden/xyz-xyz/Website 123/wp-config.php:97) in /kunden/xyz-xyz/Website 123/
   Name_of_website/wp-admin/admin-header.php on line 9
 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-php-compatible-with-7-73/#post-12164885)
 * Hi again,
 * This doesn’t appear to be related to Wordfence.
 * Can you tell me what appears on line 97 of `wp-config.php`?
 * Can you add this line on line 96? (Just before line 97)
 * `define('DISALLOW_FILE_EDIT', false);`
 * Dave
 *  Thread Starter [ChangeAgent](https://wordpress.org/support/users/changeagent/)
 * (@changeagent)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-php-compatible-with-7-73/#post-12164949)
 * line 97 is:
 * define(‘DISALLOW_FILE_EDIT’,true)
 * line 96 is:
 * define(‘NONCE_SALT’, ‘etc……
 * so it is taken.
 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-php-compatible-with-7-73/#post-12165957)
 * Hi again,
 * Can you make a backup of your current `wp-config.php` file, and then remove line
   97 and see if your site works?
 * Remove `define(‘DISALLOW_FILE_EDIT’,true);` from that file and refresh your website.
 * Dave
 *  Thread Starter [ChangeAgent](https://wordpress.org/support/users/changeagent/)
 * (@changeagent)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-php-compatible-with-7-73/#post-12166505)
 * good morning, presently on the road and will try as soon as I am back at a big
   screen.
 * FYI I have the same problem on 2 other sites.
 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-php-compatible-with-7-73/#post-12166546)
 * Sounds good! We haven’t received any other reports of this issue, so I’m pretty
   sure it’s caused by custom settings you (or someone else) placed within `wp-config.
   php`.
 * Please do let me know if the issues are still occurring, even after the edits
   you make to `wp-config.php`.
 * Dave
 *  Thread Starter [ChangeAgent](https://wordpress.org/support/users/changeagent/)
 * (@changeagent)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-php-compatible-with-7-73/#post-12169690)
 * there was an error in the code in wp-config.php. this fixed this problem.
 * I now get other errors, but contacted my ISP and they are looking in to it.
 * Thanks for your help!

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

The topic ‘plugin PHP compatible with 7-73?’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 8 replies
 * 2 participants
 * Last reply from: [ChangeAgent](https://wordpress.org/support/users/changeagent/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/plugin-php-compatible-with-7-73/#post-12169690)
 * Status: resolved