Link to home
Start Free TrialLog in
Avatar of Robert Granlund
Robert GranlundFlag for United States of America

asked on

PHP Plugin Error

Plugin wont activate.  I just moved a website from one host to another.  Same PHP version 7.  I have a plugin that worked on the old site but now does not want to activate on the new site.  Maybe I need a new license?  Does the following error give any clues on what might be the issue?

<?php

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

Open in new window


https://www.themepunch.com/ It is the Rev Slider
ASKER CERTIFIED SOLUTION
Avatar of Swatantra Bhargava
Swatantra Bhargava
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The post above references this thread
https://xtemos.com/forums/topic/revolution-slider-error-crashes-admin-cp/

The problem is with the Rev Slider plugin
a) Either try and update it to the latest version
b) Contact their support and find out why the plugin has the error - if you paid for it they should fix it
c) Try and patch the file using the instructions in the above thread - these may not match the version you have of your slider - in which case post the contents of (wp-content/plugins/revslider/includes/framework/base-admin.class.php) here so we can see what the problem is.
Avatar of Robert Granlund

ASKER

Thank you.  This fixed the error.  I would not have know to do this solution.  How did you know this?
 How did you know this?

It  came from the link I posted above
https://xtemos.com/forums/topic/revolution-slider-error-crashes-admin-cp/
Thanks Julian.