Revolution Slider PHP 7 Issue

By | Software | No Comments

Kindly replace below 2 files

1. db.class.php (/wp-content/plugins/revslider/includes/framework/db.class.php) line 31

private function checkForErrors($prefix = “”){
global $wpdb;

if($this->wpdb->last_error){
$query = $this->wpdb->last_query;
$message = $this->wpdb->last_error;

if($prefix) $message = $prefix.’ – ‘.$message.’‘;
if($query) $message .= ‘

Query: ‘ . esc_attr($query);

$this->throwError($message);
}
}

2. base_admin.class.php (/wp-content/plugins/revslider/includes/framework/base_admin.class.php) line 21

Change the $arrMetaBoxes to private static $arrMetaBoxes = array();