Revolution Slider PHP 7 Issue

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();

Harshita Solutions

About Harshita Solutions

Leave a Reply

9 + 1 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.