ArgumentCountError thrown

Too few arguments to function doQuery(), 1 passed in /homepages/6/d335196110/htdocs/wp-content/themes/gsvloc/template-TicketPage2.php on line 146 and exactly 2 expected