Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home1/danielap/public_html_8x/golf/Query.php:2882
Stack trace:
#0 /home1/danielap/public_html_8x/golf/Query.php(2882): mysqli_query(NULL, 'SELECT * from H...')
#1 /home1/danielap/public_html_8x/golf/PreferenciasGenerales.php(13): DB->traer_preferencias()
#2 /home1/danielap/public_html_8x/golf/checklogin.php(52): include('/home1/danielap...')
#3 /home1/danielap/public_html_8x/golf/miestadocanchamovilprimeromicancha.php(7): include('/home1/danielap...')
#4 {main}
thrown in /home1/danielap/public_html_8x/golf/Query.php on line 2882