Revolution Slider‘s older versions do not support PHP 7. Version 5.3.0.2 should fix this, but older versions with themes may not support PHP 7.
If you install Revolution Slider and want to move your website, but get a blank screen or Revolution Slider doesn’t activate after import but was before export, check your PHP version. We tested Revolution Slider, and it did not work properly on PHP 7 because it throws a fatal error and interrupts script execution.
Solution (two approaches):
1. Upgrade Revolution Slider to the most recent version that supports PHP 7 or disable the slider.
2. Apply a quick fix to the plugin source code.
Open file for edit /wp-content/plugins/revslider/inc_php/framework/db.class.php
Find the function called checkForErrors
and change the statement below it to
The goal is to make Revolution Slider not rely on the mysql_error function, which has been deprecated and removed in PHP 7.
If you tried both approaches and are still having problems, please contact us at
su*****@se******.com
.
Thank you very much! I first tried this solution from the wpmudev site, but somehow I gave me an other error
(https://premium.wpmudev.org/forums/topic/revolution-slider-network-activate-failed?wpcv=b&utm_expid=3606929-93.spVh-aR3SwGklKzL4HJQQg.1&utm_referrer=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-uncaught-error-call-to-undefined-function-mysql_error%2F)
But your Solution worked like a charm for me, so thanks again!
Thank you so much !
Thank you!!! 🙂
Great! But I have got the next error on the wp-admin page:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fatal error: Uncaught Error: [] operator not supported for strings in /home/kinkusr/public_html/wp-content/plugins/revslider/includes/framework/base-admin.class.php … etc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The solution was to change this line (23):
private static $arrMetaBoxes = “”; //option boxes that will be added to post
to
private static $arrMetaBoxes = array();
(Source: https://xtemos.com/forums/topic/revolution-slider-error-crashes-admin-cp/#post-5852)
Fuzsin – thank you for posting this second fix!
Working !!
Thanks a lot 🙂
Thank you so much! The second fix helped me too. The first fix was already in the code.
Merci a vous!
Thank you very much.
Thank you very much Bobby A and Fuzsin. Both of your solutions have worked very well.
Highly appreciate that.
After a long search i finally found this article, Thanks, This was very helpful
Very thanks, my website have updated by technical questions in the hosting server and my plugin was not more inicializaded, with this update in my code, my problem was resolved.
Thanx for this article.
I will use it on my website. Thank you.
Great article, thank you dear admin.
hello
not working in my website
all code is correct but not showing and in wp-admin no access to revslider plugin
http://www.farahmanesh.com
Hi hassan,
Can you contact us at
su*****@se******.com
?
THANK YOU