Title: Errors/Warnings on PHP 8.1
Last modified: April 29, 2023

---

# Errors/Warnings on PHP 8.1

 *  Resolved [Mina Alfy](https://wordpress.org/support/users/minaalfy/)
 * (@minaalfy)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/errors-warnings-on-php-8-1/)
 * After upgrading PHP version to 8.1.18, the plugin shows some errors and warnings
   as below:
 *     ```wp-block-code
       [29-Apr-2023 15:10:14 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in web/app/plugins/eps-301-redirects/plugin.php on line 308
       [29-Apr-2023 15:10:14 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at web/app/plugins/eps-301-redirects/eps-301-redirects.php on line 949
       [29-Apr-2023 15:10:14 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at web/app/plugins/eps-301-redirects/eps-301-redirects.php on line 950
       [29-Apr-2023 15:10:14 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at web/app/plugins/eps-301-redirects/eps-301-redirects.php on line 951
       [29-Apr-2023 15:10:14 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at web/wp/wp-admin/includes/misc.php on line 1431
       [29-Apr-2023 15:10:14 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at web/wp/wp-includes/functions.php on line 6896
       [29-Apr-2023 15:10:14 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at web/wp/wp-admin/admin-header.php on line 9
       [29-Apr-2023 15:10:15 UTC] PHP Deprecated:  preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in web/wp/wp-includes/kses.php on line 1729
       ```
   

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

 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/errors-warnings-on-php-8-1/#post-16698373)
 * Hi,
   PHP v8.1 support is still in beta. We’ll have this fixed in the next release
   👍
 *  [Mikhail Alferov](https://wordpress.org/support/users/malferov/)
 * (@malferov)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/errors-warnings-on-php-8-1/#post-16715311)
 * [@webfactory](https://wordpress.org/support/users/webfactory/) Please declare
   property $settings in EPS_Redirects_Plugin class. I see many rows in the error_log
   for PHP 8.2:
   `PHP Deprecated: Creation of dynamic property EPS_Redirects_Plugin::
   $settings is deprecated in wp-content/plugins/eps-301-redirects/plugin.php on
   line 55`
 *  [heatnia](https://wordpress.org/support/users/heatnia/)
 * (@heatnia)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/errors-warnings-on-php-8-1/#post-16981914)
 * Any follow-up on the PHP 8.x fixes?

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

The topic ‘Errors/Warnings on PHP 8.1’ is closed to new replies.

 * ![](https://ps.w.org/eps-301-redirects/assets/icon-256x256.png?rev=2413221)
 * [301 Redirects - Redirect Manager](https://wordpress.org/plugins/eps-301-redirects/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eps-301-redirects/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eps-301-redirects/)
 * [Active Topics](https://wordpress.org/support/plugin/eps-301-redirects/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eps-301-redirects/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eps-301-redirects/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [heatnia](https://wordpress.org/support/users/heatnia/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/errors-warnings-on-php-8-1/#post-16981914)
 * Status: resolved