PHP 8.1 errors

Posted in: Newspaper
Post count: 9

Hello

When I upgrade PHP from 7.4 to 8.0 or 8.1 I get these errors:

Warning: Constant WP_MEMORY_LIMIT already defined in /home/theinnov/public_html/wp-config.php on line 83

Warning: Cannot modify header information – headers already sent by (output started at /home/theinnov/public_html/wp-config.php:83) in /home/theinnov/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1478

Deprecated: PHP Startup: Use of mbstring.http_input is deprecated in Unknown on line 0

Any ideas how to correct?

https://theinnovationofrisk.com/

Thanks

Post count: 9

I removed the line from the wp-config for WP_Memory_Limit and removed mbstring from PHP and the errors have gone.

Post count: 27744

Hello,

It seems this error is related to the plugin wp super cache. Maybe this plugin is not tested with PHP 8.1, but only with 8.0.
Also, I’m glad if you solved it.

Have a nice day!

Post count: 9

I have removed wp super cache and the error still appears. It only does not appear if I uncheck mbstring. The theme still works.

Post count: 27744

Hello,

We can take a look and try to help you, but for this, you need to contact us via email.
Please get in touch with us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– a link to this topic to identify you
Our team will take a look!

Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.