Warning: Declaration of obox_theme_update::fs_connect($directories = Array) should be compatible with WP_Upgrader::fs_connect($directories = Array, $allow_relaxed_file_ownership = false) in /home/imperf7/public_html/wp-content/themes/handmade/ocmx/includes/update-class.php on line 4

Fatal error: Uncaught Error: Call to undefined function mysql_query() in /home/imperf7/public_html/wp-content/themes/handmade/ocmx/theme-setup/setup.php:144 Stack trace: #0 /home/imperf7/public_html/wp-includes/plugin.php(525): ocmx_setup('') #1 /home/imperf7/public_html/wp-settings.php(376): do_action('after_setup_the...') #2 /home/imperf7/public_html/wp-config.php(90): require_once('/home/imperf7/p...') #3 /home/imperf7/public_html/wp-load.php(37): require_once('/home/imperf7/p...') #4 /home/imperf7/public_html/wp-blog-header.php(12): require_once('/home/imperf7/p...') #5 /home/imperf7/public_html/index.php(17): require('/home/imperf7/p...') #6 {main} thrown in /home/imperf7/public_html/wp-content/themes/handmade/ocmx/theme-setup/setup.php on line 144