Title: Errors in debug.log
Last modified: July 25, 2024

---

# Errors in debug.log

 *  Resolved [ikiterder](https://wordpress.org/support/users/ikiterder/)
 * (@ikiterder)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/errors-in-debug-log-10/)
 * Hi
 * I switched from PHP 7.4 to 8.1 and there were errors in debug.log
 * `[25-Jul-2024 19:23:06 UTC] PHP Deprecated: preg_replace(): Passing null to parameter#
   3 ($subject) of type array|string is deprecated in .../public_html/wp-admin/includes/
   plugin.php on line 2161
   [25-Jul-2024 19:23:06 UTC] PHP Deprecated: strip_tags():
   Passing null to parameter #1 ($string) of type string is deprecated in .../public_html/
   wp-admin/admin-header.php on line 36
 * Errors appear exactly when I view emails through your plugin.
 * Sorry for my English.

Viewing 1 replies (of 1 total)

 *  Plugin Author [webaware](https://wordpress.org/support/users/webaware/)
 * (@webaware)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/errors-in-debug-log-10/#post-17913961)
 * G’day ikiterder,
 * Thanks for the bug report. I’ve had this fixed in my development environment 
   for, well, “quite some time”… so I guess I’d better get a release out soon!
 * cheers,
   Ross

Viewing 1 replies (of 1 total)

The topic ‘Errors in debug.log’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [webaware](https://wordpress.org/support/users/webaware/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/errors-in-debug-log-10/#post-17913961)
 * Status: resolved