I have built a website with wordpress which has recently stopped working. I am unable to login using he Wp-Admin page. When I login I get the following error, listed in the code below.
I wondered whether it might have been the rev slider causing problems. I have updated the base class admin.php file to change private static $arrMetaBoxes = ''; to private static $arrMetaBoxes = array();. This unfortunately has not worked.
Fatal error: Uncaught Error: Call to undefined function mysql_error() in /home3/epicccon/public_html/sophia/wp-content/plugins/revslider/inc_php/framework/db.class.php:29 Stack trace: #0 /home3/epicccon/public_html/sophia/wp-content/plugins/revslider/inc_php/framework/db.class.php(127): UniteDBRev->checkForErrors('fetch') #1 /home3/epicccon/public_html/sophia/wp-content/plugins/revslider/inc_php/revslider_params.class.php(42): UniteDBRev->fetch('wp_xiht_revslid...') #2 /home3/epicccon/public_html/sophia/wp-content/plugins/revslider/inc_php/revslider_operations.class.php(1072): RevSliderParams->getFieldFromDB('general') #3 /home3/epicccon/public_html/sophia/wp-content/plugins/revslider/revslider_front.php(30): RevOperations::getGeneralSettingsValues() #4 /home3/epicccon/public_html/sophia/wp-includes/plugin.php(525): RevSliderFront->onAddScripts('') #5 /home3/epicccon/public_html/sophia/wp-includes/script-loader.php(1049): do_action('wp_enqueue_scri...') #6 /home3/epicccon/public_html/sophia/wp-includes/plugin.php(525): wp in /home3/epicccon/public_html/sophia/wp-content/plugins/revslider/inc_php/framework/db.class.php on line 29
Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference, value given in /home3/epicccon/public_html/sophia/wp-includes/functions.php on line 3570