已弃用:elementor 错误 Wordpress 网站
deprecated: elementor error Wordpress site
我是 WordPress 新手。这些是我使用的版本 -
Wordpress version: 5.7.1
Theme Name: Saasland
我收到了这条错误消息-
Deprecated: Elementor\Scheme_Typography is deprecated since version
2.8.0! Use Elementor\Core\Schemes\Typography instead. in /customers/a/a/5/test.com/httpd.www/wp-includes/functions.php on
line 5051
这是来自 functions.php
的代码
$replacement
) . $message,
E_USER_DEPRECATED (##line 5051)
);
} else {
我已经尝试 google 很多次,但未能找到任何解决方案。有谁知道任何可能的解决方案?
显示弃用通知是因为与 Elementor 相关 plugin/addon。要删除该消息,您可以找到该插件并将其停用,您可以等待插件更新或在 wp-config.php
:
中更改您的设置
define( 'WP_DEBUG', true );
error_reporting(E_ALL ^ E_DEPRECATED);
或
define( 'WP_DEBUG', false );
这样的错误
Elementor\Scheme_Typography 自 2.8.0 版本起已弃用!使用 Elementor\Core\Schemes\Typography 代替
像这样在 PHP 文件中添加使用 class
示例:-
使用 Elementor\Core\Schemes\Typography 作为 Scheme_Typography;
我是 WordPress 新手。这些是我使用的版本 -
Wordpress version: 5.7.1
Theme Name: Saasland
我收到了这条错误消息-
Deprecated: Elementor\Scheme_Typography is deprecated since version 2.8.0! Use Elementor\Core\Schemes\Typography instead. in /customers/a/a/5/test.com/httpd.www/wp-includes/functions.php on line 5051
这是来自 functions.php
的代码 $replacement
) . $message,
E_USER_DEPRECATED (##line 5051)
);
} else {
我已经尝试 google 很多次,但未能找到任何解决方案。有谁知道任何可能的解决方案?
显示弃用通知是因为与 Elementor 相关 plugin/addon。要删除该消息,您可以找到该插件并将其停用,您可以等待插件更新或在 wp-config.php
:
define( 'WP_DEBUG', true );
error_reporting(E_ALL ^ E_DEPRECATED);
或
define( 'WP_DEBUG', false );
这样的错误 Elementor\Scheme_Typography 自 2.8.0 版本起已弃用!使用 Elementor\Core\Schemes\Typography 代替
像这样在 PHP 文件中添加使用 class
示例:- 使用 Elementor\Core\Schemes\Typography 作为 Scheme_Typography;