Trying to move my website to PHP 8.2 but some errors appear
Hola from Spain. I have a website https://anaortizpublicidad.com/ and I wanted to move it to PHP 8.2, but when I try, some error appear, some codelines in different parts of the website. When I return to PHP 7.4 they disappear, but I would like to have my website in the current PHP 8.2.
The theme, the Wordpress and the plugins are correctly uploaded, could you help me? Gracias!
Comments
Hi,
Can you tell me what errors appear, please?
Can you update PHP to 8.2 so we can see them, please?
Thanks
Done! Please check now
Is PHP 8.1 because 8.2 has many more errors
This error message refers to the WP function, and we do not have an influence on that.
WordPress is still in beta compatibility with PHP 8.1 and 8.2, so it might show such notices.
https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/
I suggest you keep PHP version 7.4 or turn off the WP debug.
https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/
Best regards