Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and paycheck = 'yes' and trash = 'no' and year(dateorder) > '2022'
...' at line 1 in /home/kaffandco/htdocs/www.kaffandco.com/templates/member.php:16
Stack trace:
#0 /home/kaffandco/htdocs/www.kaffandco.com/templates/member.php(16): mysqli->query()
#1 /home/kaffandco/htdocs/www.kaffandco.com/modules/chk-page.php(10): include('...')
#2 /home/kaffandco/htdocs/www.kaffandco.com/index.php(12): include('...')
#3 {main}
thrown in /home/kaffandco/htdocs/www.kaffandco.com/templates/member.php on line 16