Slider Revolution 常见问题

报错信息:

Fatal error: Uncaught Error: [] operator not supported for strings

修改文件 revslider/includes/framework/base-admin.class.php 21 行:

private static $arrMetaBoxes = '';

修改为:

private static $arrMetaBoxes = [];

报错信息:

Fatal error: Uncaught Error: Call to undefined function mysql_error() in …

修改文件 revslider/inc_php/framework/db.class.php 29 行:

if(mysql_error()){

修改为:

if($this->wpdb->last_error){

报错信息:

PHP Deprecated: Function create_function() is deprecated in /www/…/revslider/includes/framework/functions-wordpress.class.php on line 258

add_action('widgets_init', create_function('', 'return register_widget("'.$widgetName.'");'));

修改为:

// add_action('widgets_init', create_function('', 'return register_widget("'.$widgetName.'");'));

894 total views, 8 views today

Revisions

No comments yet.

发表评论