Warning: include(db.php): Failed to open stream: No such file or directory in /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-content/themes/OwnTheme/functions/main-functions.php on line 80

Warning: include(): Failed opening 'db.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-content/themes/OwnTheme/functions/main-functions.php on line 80

Warning: Undefined variable $con in /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-content/themes/OwnTheme/functions/main-functions.php on line 86

Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-content/themes/OwnTheme/functions/main-functions.php:86 Stack trace: #0 /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-content/themes/OwnTheme/functions/main-functions.php(86): mysqli_query(NULL, 'SELECT * FROM m...') #1 /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-includes/shortcodes.php(356): addEventInfo_function(Array, '', 'infoEvent') #2 [internal function]: do_shortcode_tag(Array) #3 /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(infoEv...', 'do_shortcode_ta...', '[infoEvent id="...') #4 /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-includes/class-wp-hook.php(307): do_shortcode('[infoEvent id="...') #5 /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-includes/plugin.php(191): WP_Hook->apply_filters('[infoEvent id="...', Array) #6 /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-includes/post-template.php(253): apply_filters('the_content', '<!-- wp:shortco...') #7 /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-content/themes/OwnTheme/single.php(33): the_content() #8 /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-includes/template-loader.php(106): include('/var/www/vhosts...') #9 /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-blog-header.php(19): require_once('/var/www/vhosts...') #10 /var/www/vhosts/yogadagmersellen.ch/httpdocs/index.php(17): require('/var/www/vhosts...') #11 {main} thrown in /var/www/vhosts/yogadagmersellen.ch/httpdocs/wp-content/themes/OwnTheme/functions/main-functions.php on line 86