Error: Unknown column 'type' in 'where clause'
In: select author, author_url, max(adult) as adult from files where 1 = 1 and type = 3 group by author order by author
Array
(
[0] => Array
(
[file] => /home/virtual/site24/fst/var/www/html/classes/DB.class.php
[line] => 47
[function] => query
[class] => recordsmanager
[type] => ->
[args] => Array
(
[0] => select author, author_url, max(adult) as adult from files where 1 = 1 and type = 3 group by author order by author
)
)
[1] => Array
(
[file] => /home/virtual/site24/fst/var/www/html/classes/RecordsManager.class.php
[line] => 569
[function] => fetch_objects
[class] => recordsmanager
[type] => ->
[args] => Array
(
[0] => select author, author_url, max(adult) as adult from files where 1 = 1 and type = 3 group by author order by author
)
)
[2] => Array
(
[file] => /home/virtual/site24/fst/var/www/html/index.php
[line] => 33
[function] => getcats
[class] => recordsmanager
[type] => ->
[args] => Array
(
[0] => 3
[1] => author
)
)
)