Title: PHP Warning
Last modified: August 17, 2021

---

# PHP Warning

 *  [swun](https://wordpress.org/support/users/swun/)
 * (@swun)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/version-4-3-2-php-warning/)
 * I have just updated to version 4.3.2. Visiting the Settings page’s Activity Log
   Viewer tab generated 2 PHP warnings.
 * [17-Aug-2021 22:41:33 UTC] PHP Warning: Use of undefined constant php – assumed‘
   php’ (this will throw an Error in a future version of PHP) in /<sub-folders>/
   wp-content/plugins/wp-security-audit-log/classes/Views/Settings.php on line 966
 * [17-Aug-2021 22:41:33 UTC] PHP Warning: Use of undefined constant php – assumed‘
   php’ (this will throw an Error in a future version of PHP) in /<sub-folders>/
   wp-content/plugins/wp-security-audit-log/classes/Views/Settings.php on line 968
    -  This topic was modified 4 years, 9 months ago by [swun](https://wordpress.org/support/users/swun/).

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

 *  [Greg Marshall](https://wordpress.org/support/users/timeassistant/)
 * (@timeassistant)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/version-4-3-2-php-warning/#post-14789511)
 * Also having this issue
 * PHP Warning: Use of undefined constant php – assumed ‘php’ (this will throw an
   Error in a future version of PHP) in /public_html/wp-content/plugins/wp-security-
   audit-log/classes/Views/Settings.php on line 968
 *  Plugin Support [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/version-4-3-2-php-warning/#post-14796659)
 * Thank you very much for using our plugin and for reporting this issue [@timeassistant](https://wordpress.org/support/users/timeassistant/)
   and [@swun](https://wordpress.org/support/users/swun/)
 * We will look into this and issue a fix in the next update of the plugin. In the
   meantime, if we will need more information we will contact you.
 * Should there be anything else we can help you with, please do not hesitate to
   ask.
 * Have a great day.
 *  [Danny Jones](https://wordpress.org/support/users/distinctivepixels/)
 * (@distinctivepixels)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/version-4-3-2-php-warning/#post-14800886)
 * Hi [@swun](https://wordpress.org/support/users/swun/) and [@timeassistant](https://wordpress.org/support/users/timeassistant/)
 * I just wanted to mention, we have located the source of the issue (it seems some
   versions of PHP don’t like a tag which is left as part of our plugin’s build 
   processes) so thank you very much for bringing this to our attention.
 * I can confirm we will certainly have this resolved in the next release.
 * If anything else pops up in the meantime, please do not hesitate to let us know.
 * Kind regards, Daniel @ WP White Security
 *  [mensmaximus](https://wordpress.org/support/users/mensmaximus/)
 * (@mensmaximus)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/version-4-3-2-php-warning/#post-14819109)
 * PHP 8 throws an Error and triggers the WordPress healthcheck. So each time you
   access the tab “Activity Log Viewer” in settings the error is triggered:
 * Uncaught Error: Undefined constant “php” in /www/htdocs/w01af748/_entwicklung/
   woo.mensmaximus.com/wp-content/plugins/wp-security-audit-log/classes/Views/Settings.
   php:966
 * Removing the two ‘<?php?>’ tags from settings.php solves the issue.
 *  Plugin Support [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/version-4-3-2-php-warning/#post-14826124)
 * Thank you for the update [@mensmaximus](https://wordpress.org/support/users/mensmaximus/)
 * We will include a fix for this in the upcoming update of the plugin. Have a good
   day.

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

The topic ‘PHP Warning’ is closed to new replies.

 * ![](https://ps.w.org/wp-security-audit-log/assets/icon-256x256.png?rev=2961534)
 * [WP Activity Log](https://wordpress.org/plugins/wp-security-audit-log/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-security-audit-log/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-security-audit-log/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-security-audit-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-security-audit-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-security-audit-log/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [robertabela](https://wordpress.org/support/users/robert681/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/version-4-3-2-php-warning/#post-14826124)
 * Status: not resolved