Compatibility issue with php8.1 and php8.2 versions
-
Hello,
I am using OpenLitespeed web server. Today I tried to upgrade my server to version php8.1 and php8.2 and I received the following error message.Deprecated: Calling static trait method RankMath\Helpers\Conditional::is_heartbeat is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/includes/class-modules.php on line 31 Deprecated: Calling static trait method RankMath\Helpers\Conditional::is_rest is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/includes/modules/schema/class-video.php on line 32 Deprecated: Calling static trait method RankMath\Helpers\Conditional::is_woocommerce_active is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/rank-math-pro.php on line 358 Deprecated: Calling static trait method RankMath\Helpers\WordPress::get_request_action is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/includes/modules/redirections/class-schedule.php on line 353 Deprecated: Calling static trait method RankMath\Helpers\Param::get is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/includes/modules/404-monitor/class-monitor-pro.php on line 113 Deprecated: Calling static trait method RankMath\Helpers\Param::get is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/includes/modules/analytics/class-keywords.php on line 61 Deprecated: Calling static trait method RankMath\Helpers\Arr::from_string is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/includes/class-common.php on line 130 Deprecated: Calling static trait method RankMath\Helpers\Param::get is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/includes/modules/analytics/class-analytics.php on line 411 Deprecated: Calling static trait method RankMath\Helpers\HTML::extract_attributes is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/includes/modules/schema/class-frontend.php on line 389 Deprecated: Calling static trait method RankMath\Helpers\Str::starts_with is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/includes/modules/schema/class-frontend.php on line 180 Deprecated: Calling static trait method RankMath\Helpers\Str::starts_with is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/includes/modules/schema/class-frontend.php on line 461 Deprecated: Calling static trait method RankMath\Helpers\Arr::from_string is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/includes/class-common.php on line 108 Deprecated: Calling static trait method RankMath\Helpers\Param::get is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/includes/plugin-update/class-plugin-update.php on line 241 Deprecated: Calling static trait method RankMath\Helpers\Url::get_current_url is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math-pro/includes/class-common.php on line 63 Deprecated: Calling static trait method RankMath\Helpers\Url::get_scheme is deprecated, it should only be called on a class using the trait in /usr/local/lsws/mydomain.com/html/wp-content/plugins/seo-by-rank-math/includes/helpers/class-url.php on line 116
Then I had to downgrade my php to 8.0 to get everything working again. Please release a patch for your plugin. I’m very grateful for that. Thank you.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Compatibility issue with php8.1 and php8.2 versions’ is closed to new replies.