We've repurchased Dentalia as we had an older version that caused our website to drop out, now on v2.1. However, the revolution slider plugin will not install or activate correctly due to the following issue:
I somehow managed to activate the revolution slider.
I am not sure why, but the Revolution slider plugin seems to have issues with their own refresh_server_list() , which they use to refresh their list of themepunch servers. Probably related to their update system (which doesn't work properly unless for API key owners).
In the file wp-content/pIugins/revslider/includes/loadbalancer.class.php I modified line 60 in a way, that this function never actually checks for new server list.
On the screenshot below you can see the code I added (yellow) and the code I commented out (purple)
After this, the plugin installed successfully.
Honestly it isn't a perfect solution, I only duct-taped the problem. For a better solution, you should probably contact the Revolution plugin authors, by reporting the issue to them. I do not know their codebase and this is just as much as I can do. I can't reproduce this issue on my installation either. The issue might also be connected with a specific PHP version, PHP settings or security policy on your server.
We've repurchased Dentalia as we had an older version that caused our website to drop out, now on v2.1. However, the revolution slider plugin will not install or activate correctly due to the following issue:
Fatal error: Uncaught TypeError: Unsupported operand types: int - string in /customers/8/4/d/wappingdentalcentre.com/httpd.www/wp-content/plugins/revslider/admin/includes/loadbalancer.class.php:60 Stack trace: #0 /customers/8/4/d/wappingdentalcentre.com/httpd.www/wp-content/plugins/revslider/revslider.php(184): RevSliderLoadBalancer->refresh_server_list() #1 /customers/8/4/d/wappingdentalcentre.com/httpd.www/wp-admin/includes/plugin.php(2286): include_once('/customers/8/4/...') #2 /customers/8/4/d/wappingdentalcentre.com/httpd.www/wp-admin/includes/plugin.php(668): plugin_sandbox_scrape('revslider/revsl...') #3 /customers/8/4/d/wappingdentalcentre.com/httpd.www/wp-content/themes/dentalia/framework/admin/TGM/class-tgm-plugin-activation.php(1077): activate_plugin('revslider/revsl...') #4 /customers/8/4/d/wappingdentalcentre.com/httpd.www/wp-content/themes/dentalia/framework/admin/TGM/class-tgm-plugin-activation.php(924): TGM_Plugin_Activation->activate_single_plugin('revslider/revsl...', 'revslider', true) #5 /customers/8/4/d/wappingdentalcentre.com/httpd.www/wp-content/themes/dentalia/framework/admin/TGM/class-tgm-plugin-activation.php(761): TGM_Plugin_Activation->do_plugin_install() #6 /customers/8/4/d/wappingdentalcentre.com/httpd.www/wp-includes/class-wp-hook.php(303): TGM_Plugin_Activation->install_plugins_page('') #7 /customers/8/4/d/wappingdentalcentre.com/httpd.www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #8 /customers/8/4/d/wappingdentalcentre.com/httpd.www/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #9 /customers/8/4/d/wappingdentalcentre.com/httpd.www/wp-admin/admin.php(259): do_action('appearance_page...') #10 /customers/8/4/d/wappingdentalcentre.com/httpd.www/wp-admin/themes.php(10): require_once('/customers/8/4/...') #11 {main} thrown in /customers/8/4/d/wappingdentalcentre.com/httpd.www/wp-content/plugins/revslider/admin/includes/loadbalancer.class.php on line 60
If you could get back to us asap we would greatly appreciate it!
Many thanks,
Daniel
Replied privately.
OrionThemes
Hi,
I somehow managed to activate the revolution slider.
I am not sure why, but the Revolution slider plugin seems to have issues with their own refresh_server_list() , which they use to refresh their list of themepunch servers. Probably related to their update system (which doesn't work properly unless for API key owners).
In the file wp-content/pIugins/revslider/includes/loadbalancer.class.php I modified line 60 in a way, that this function never actually checks for new server list.
On the screenshot below you can see the code I added (yellow) and the code I commented out (purple)
After this, the plugin installed successfully.
Honestly it isn't a perfect solution, I only duct-taped the problem. For a better solution, you should probably contact the Revolution plugin authors, by reporting the issue to them. I do not know their codebase and this is just as much as I can do. I can't reproduce this issue on my installation either. The issue might also be connected with a specific PHP version, PHP settings or security policy on your server.
Kind regards,
Andrej
OrionThemes
Thanks so much for your assistance, Andrej! You've been a great help.
I'll contact the revolution slider authors regarding the issue, hopefully, they can come up with a permanent solution!