WordPress Admin White Screen – Revslider Plugin

Issue: Front end of a WordPress powered website is working, however after successfully authenticating to the admin, a white screen is displayed. After basic troubleshooting; removing plugins, Revolution Slider (“Revslider”) was seen to be causing the issue. When attempting to reactivate the Revslider plugin, an error similar to the below is displayed:

Fatal error: Uncaught Error: [] operator not supported for strings in /home/xxxxxxxx/public_html/wp-content/plugins/revslider/includes/framework/base-admin.class.php:71 Stack trace: #0 /home/xxxxxxxx/public_html/wp-content/plugins/revslider/admin/revslider-admin.class.php(572): RevSliderBaseAdmin::addMetaBox(‘Revolution Slid…’, ”, Array, NULL) #1 /home/xxxxxxxx/public_html/wp-content/plugins/revslider/admin/revslider-admin.class.php(73): RevSliderAdmin->addSliderMetaBox() #2 /home/xxxxxxxx/public_html/wp-content/plugins/revslider/admin/revslider-admin.class.php(44): RevSliderAdmin->init() #3 /home/xxxxxxxx/public_html/wp-content/plugins/revslider/revslider.php(165): RevSliderAdmin->__construct(‘/home/xxxxxxxx/…’) #4 /home/xxxxxxxx/public_html/wp-admin/includes/plugin.php(1910): include(‘/home/xxxxxxxx/…’) #5 /home/xxxxxxxx/public_html/wp-admin/plugins.php(172): plugin_sandbox_scrape(‘revslider/revsl…’) #6 {main} thrown in /home/xxxxxxxx/public_html/wp-content/plugins/revslider/includes/framework/base-admin.class.php on line 71

Solution: Create a database backup of the “working” website. Edit the following file in the Revslider plugin:

.../includes/framework/base-admin.class.php

Find this:

private static $arrMetaBoxes = ”; //option boxes that will be added to post

and replace with this:

private static $arrMetaBoxes = array(); //option boxes that will be added to post

Activate the plugin.

Check if front end slider and backend admin login works, if so, you’re finished.

If not… Please restore the previous “working” database backup.

Slider functionality and administrative login should then be restored.

1 thought on “WordPress Admin White Screen – Revslider Plugin”

Leave a comment

BlogLogistics