Thank you for your reply
First I disabled all plugins and theme error still exist.
Then make all plugins active and test get the following:
I got this from debug file:
[20-Sep-2019 12:40:39 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/XXXXXX/public_html/wp-includes/wp-db.php:1643
Stack trace:
#0 /home/XXXXXX/public_html/wp-includes/wp-db.php(639): wpdb->db_connect()
#1 /home/XXXXXX/public_html/wp-includes/load.php(427): wpdb->__construct(‘MyDatabaseName…’, ‘DataPbasePassword’, ‘MyDatabaseUser…’, ‘localhost’)
#2 /home/XXXXXX/public_html/wp-settings.php(120): require_wp_db()
#3 /home/XXXXXX/public_html/wp-config.php(107): require_once(‘/home/XXXXXX/…’)
#4 /home/XXXXXX/public_html/wp-load.php(37): require_once(‘/home/XXXXXX/…’)
#5 /home/XXXXXX/public_html/wp-blog-header.php(13): require_once(‘/home/XXXXXX/…’)
#6 /home/XXXXXX/public_html/index.php(17): require(‘/home/XXXXXX/…’)
#7 {main}
thrown in /home/XXXXXX/public_html/wp-includes/wp-db.php on line 1643