MORE on using PHP 8.0. When I used the “recovery mode”, based on the email received (apparently) from ClassicPress, it told me there was something wrong with the THEME. Can anyone tell me what to do based on the following message…
Yeah, its indeed caused by the theme, which uses ancient PHP code, which has been deprecated in PHP 7.2 and removed in PHP 8. The PHP documentation (to which I linked) tells one to replace it with an anonymous function at best, or use eval (with potential security issues, as its parsing and executing code without further tests).
The reason why its still “ok” with PHP 7.4 is because that its “only” deprecated, but still existing. Probably throws a DEPRECATED error if you enable WP_DEBUG or general PHP debug, too.
So its not CP v2 which is at fault, but the theme code. As I dont know the theme, and also your level of programming experience, I can only speculate on how to fix this issue.
If you dont want to replace the theme, and have got a bit of programming experience (advanced level), then you might be able to replace the code with an anonymous function. My guess is, that its using a very very old method to initialize widgets.
Edit: A bit of searching on the interwebs suggests that its the tagDiv Newspaper theme, and not available in the WP Theme Repository, so I sadly cannot tell you more.
Thanks! You’re right, it’s the tagDiv Newspaper theme - and any other NEWSPAPER-like theme, so far. I believe tagDiv has an updated version of this theme, and I’ve reached out to them to find out if the new version will work with PHP 8.0. Again, thanks for taking the time to look at my issue.