Revslider Fatal error Uncaught Error

If after updating your PHP version to 7+ you may notice your Revslider doesn’t work anymore or you can no longer log in to your admin dashboard with only a white screen being displayed. Or you had ran through from sites migration, who may be running older versions of the plugin. It’s bundled with a bunch of themes so you may not even be aware you’re running it.

I can access the public side of the site. But the dashboard no way to enter site admin’s dashboard, because revslider plugin error. How can I fix it?

How to show Revslider fatal error uncaught error

You want to see the what the errors are, you can FTP into your WordPress install (or use File Manager if on a cPanel server), open up “wp-config.php” and change this line:

define(‘WP_DEBUG’, false);


define(‘WP_DEBUG’, true);

After doing the above, you can refresh that blank white page in your browser and you should see an error as shown below. Or you may observer the logs, it will shows an error pointing to the Revslider plugin:

PHP Fatal error:  Uncaught Error: [] operator not supported for strings in /wp-content/plugins/revslider/includes/framework/base-admin.class.php:141

Please take note: If you turned on the debug inside of “wp-config.php”, make sure you change that back to false after all had been fixed.

How to Fix Revslider fatal error uncaught error

Go to your wordpress installation Folder with your favorite FTP client and search for the revslider plugin folder inside wp-content/plugins. Move the revslider plugin folder somewhere else on your server. This should disable the plugin in general. Buying and installing an up-to-date copy of the of the plugin will fix this here:

However, most likely revslider does not support your PHP version. generally some scripts only supported by PHP 7+, but not in PHP 5.x.

You can use [] instead of array(), you’ll need to open either…




and change from

private static $arrMetaBoxes = '';


private static $arrMetaBoxes = array();

Simpler ways, go to your hosting panel or contact your hosts to update the PHP to PHP 7 or use another slider plugin. 

If you are experiencing any other issues with your WordPress site or just want a checkup on your configuration, we’d love to help!

You may also like...