Wordpress

Fatal Error on Revolution Slider After PHP 7 Upgrade

A lot of users have experience getting errors on their Revolution Slider plugin after updating to PHP 7. Mine was the

Uncaught Error: [] operator not supported for strings in /../plugins/revslider/inc_php/framework/base_admin.class.php:72 Stack trace: #0

I can’t access the backend once PHP7 has been enabled with the Revolution Slider plugin active. Once deactivated, I was able to login on the backend but I can’t activate the plugin anymore.

The pissue has been fixed by going to the /wp-content/plugins/revslider/inc_php/framework/ folder path and edited the base_admin.class.php.

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

to

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