View (slider-overview) Error

When updating from version 4.x or lower to 5.x, and you get the error below, this can be resolved with a small code edit.

View (slider-overview) Error: fetch - <b>Unknown column 'type' in 'where clause'</b><br>---<br> Query: select * from wp_revslider_sliders where 'type' != 'template' OR 'type' IS NULL order by id ASC

1. From your favorite FTP editor, download and open the following file:

wp-content/plugins/revslider/revslider.php

2. Add the following line of code directly above the closing "?>" part:

3. Finally, re-upload the file to the same location after making the code addition, and then reload the plugin's main admin page.

http://www.yoursite.com/wp-admin/admin.php?page=revslider