Hi,
In the end I tried downgrading the version of PHP and this worked. I was running on 8.1. I downgraded to 7.4. This permanently fixed the issue.
I just carried out a test using PHP 8.1 and WordPress 5.9 and I don’t see any error messages. Please check your theme and other plugins that might be clashing with PHP 8.1. Remember not all plugins and themes are compatible yet with PHP 8.1 including WordPress 5.9. The following link has more information regarding WordPress 5.9.
https://make.ww.wp.xz.cn/core/2022/01/10/wordpress-5-9-and-php-8-0-8-1/
Kind regards.
Hi, This is very interesting. Thanks for sharing.
On the page that link links to it says ‘With a deprecation notice, the PHP code will continue to work and nothing is broken.’. I’m not sure exactly what definition of ‘broken’ they are using if indeed it’s this incompatibility that could be causing the problem.
The theme I’m using is WordPress Twenty Seventeen. Is it getting old now.
The problem with the play button I was having was intermittent. I don’t know if that means error logs only intermittently reported the ‘not rendering’ issue when I was still using PHP 8.1.
I’m not sure what I do with all this on a practical level. I guess I could wait until PHP 9 and then test the plugin with PHP 8.n to see if any issues with it and WP’s latest incarnation have been ironed out.
Thanks for the useful and interesting info.