... php 8.1 ... ClassicPressv2

Hallo,

because I was curious to try v2, I migrated one site to v2.

Everything worked fine - no problems. Only error messages using php 8.1. No problem - the transition should only succeed at the end of the year.

I received the following messages among others on a whitescreen:

**Deprecated** : Calling static trait method Classic_SEO\Helpers\Conditional::is_heartbeat is deprecated, it should only be called on a class using the trait in **/.../kommunalrecht/wp-content/plugins/classicpress-seo/includes/module/class-manager.php** on line **43**

Deprecated : Calling static trait method Classic_SEO\Helpers\Conditional::is_heartbeat is deprecated, it should only be called on a class using the trait in /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/modules/status/class-status.php on line 29

Deprecated : Calling static trait method Classic_SEO\Helpers\Conditional::is_rest is deprecated, it should only be called on a class using the trait in /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/modules/status/class-status.php on line 33

Deprecated : Calling static trait method Classic_SEO\Helpers\Conditional::is_ajax is deprecated, it should only be called on a class using the trait in /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/class-cmb2.php on line 102

Deprecated : Calling static trait method Classic_SEO\Helpers\WordPress::get_post_type is deprecated, it should only be called on a class using the trait in /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/metaboxes/general.php on line 90

Deprecated : Calling static trait method Classic_SEO\Helpers\WordPress::post_type_from_globals is deprecated, it should only be called on a class using the trait in /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/helpers/class-wordpress.php on line 57

Deprecated : Calling static trait method Classic_SEO\Helpers\WordPress::post_type_from_request is deprecated, it should only be called on a class using the trait in /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/helpers/class-wordpress.php on line 62

Deprecated : Calling static trait method Classic_SEO\Helpers\WordPress::get_post_type is deprecated, it should only be called on a class using the trait in /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/modules/rich-snippet/views/metabox-options.php on line 17

Deprecated : Calling static trait method Classic_SEO\Helpers\WordPress::post_type_from_globals is deprecated, it should only be called on a class using the trait in /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/helpers/class-wordpress.php on line 57

Deprecated : Calling static trait method Classic_SEO\Helpers\WordPress::post_type_from_request is deprecated, it should only be called on a class using the trait in /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/helpers/class-wordpress.php on line 62

Deprecated : Calling static trait method Classic_SEO\Helpers\Conditional::is_ajax is deprecated, it should only be called on a class using the trait in /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/class-cmb2.php on line 102

Warning : Cannot modify header information - headers already sent by (output started at /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/module/class-manager.php:43) in /…/kommunalrecht/wp-admin/includes/misc.php on line 1444

Warning : Cannot modify header information - headers already sent by (output started at /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/module/class-manager.php:43) in /…/kommunalrecht/wp-includes/functions.php on line 6891

Warning : Cannot modify header information - headers already sent by (output started at /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/module/class-manager.php:43) in /…/kommunalrecht/wp-includes/pluggable.php on line 1427

Warning : Cannot modify header information - headers already sent by (output started at /…/kommunalrecht/wp-content/plugins/classicpress-seo/includes/module/class-manager.php:43) in /…/kommunalrecht/wp-includes/pluggable.php on line 1430

I don’t have the skills to fix the errors. I do not want to supress the warnings … (or try to) …

Please allow me two short questions:

Do you think maybe I should switch to a different seo-plugin? Or should I wait?

I would also like to help, but I am a lawyer and not an IT-expert. PHP is a language I can only stammer.

Thanks for a little advice!

If you got a white screen there should be a line saying something like ‘Fatal Error’, that is the one that stopped the script, please post that info. Warning and Depreciated are not causing the script to crash.

I’m working on PHP 8.2 compatibility in this branch.

It’s working well on a production site so far, but Classic SEO is pretty complex so any help in testing is wellcome.

@Soenke2 please look at this post.

Hope you (and many other people) can help testing!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.