INVALID SQL: 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE ez_typeid='12' AND active='Y' LIMIT 1' at line 1
SQL QUERY FAILURE:SELECT * FROM WHERE ez_typeid='12' AND active='Y' LIMIT 1
Backtrace:

file: 204 - /var/www/poguepoolspa/include/func/func.db.php
call: func_get_backtrace_html()

file: 522 - /var/www/poguepoolspa/include/func/func.db.php
call: db_query("SELECT * FROM WHERE ez_typeid='12' AND active='Y' LIMIT 1")

file: 56 - /var/www/poguepoolspa/view-by-params.php
call: func_query_first("SELECT * FROM WHERE ez_typeid='12' AND active='Y'")