• Resolved Mina Alfy

    (@minaalfy)


    After upgrading PHP version to 8.1.18, the plugin shows some errors and warnings as below:

    [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

    (@webfactory)

    Hi,
    PHP v8.1 support is still in beta. We’ll have this fixed in the next release 👍

    @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

    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.