WordPress und PHP7: Revolution Slider 4.6.5 – kein Login möglich
Nach einem Update auf PHP7 ist die login.php bzw. /wp-admin eines WordPress mit installiertem Plugin Revolution Slider 4.6.5 nicht mehr funktionsfähig? Es erscheint eine leere Seite.
Das Log des Webservers enthält eine Fehlermeldung wie diese:
[Mon Aug 27 19:36:00.442184 2018] [php7:error] [pid 49096] [client xxx:58243] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /data/www/vhosts/xxx/wp/wp-content/plugins/revslider/inc_php/framework/base_admin.class.php:72 Stack trace: #0 /data/www/vhosts/xxx/wp/wp-content/plugins/revslider/revslider_admin.php(157): UniteBaseAdminClassRev::addMetaBox('Revolution Slid...', Object(UniteSettingsAdvancedRev), Array, NULL) #1 /data/www/vhosts/xxx/wp/wp-content/plugins/revslider/revslider_admin.php(68): RevSliderAdmin->addSliderMetaBox() #2 /data/www/vhosts/xxx/wp/wp-content/plugins/revslider/revslider_admin.php(40): RevSliderAdmin->init() #3 /data/www/vhosts/xxx/wp/wp-content/plugins/revslider/revslider.php(146): RevSliderAdmin->__construct('/data/www/vhost...') #4 /data/www/vhosts/xxx/wp/wp-settings.php(305): include_once('/data/www/vhost...') #5 /data/www/vhosts/xxx/wp/wp-config.php(80): require_ in /data/www/vhosts/xxx/wp/wp-content/plugins/revslider/inc_php/framework/base_admin.class.php on line 72
Hierzu wird in diversen Foren diese Lösung empfohlen:
In …/wp-content/plugins/revslider/inc_php/framework/base_admin.class.php Zeile 23 ändern von alt:
private static $arrMetaBoxes = ''; //option boxes that will be added to post
in neu:
private static $arrMetaBoxes = array(); //option boxes that will be added to post
Bei mir war das Problem damit behoben.
WordPress und PHP7: Revolution Slider 4.6.5 – kein Login möglich Read More »