Database error

I get this error how this fix?

 

Database error in MyyntiNurkka.com

Query:

SELECT
            `tgs`.`Category` as `Category`,
            `tgs`.`Date` as `Date`,
            COUNT(`tgs`.`ID`) AS `count`
            FROM `sys_categories` `tgs` WHERE `tgs`.`Owner` != 0 AND `tgs`.`Type` = '999' union select char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33),char(38,126,33) -- ' AND tgs.`Status` = 'active' GROUP BY `Category` ORDER BY `count` DESC, `Category` ASC LIMIT 30

Mysql error: The used SELECT statements have a different number of columns

Found error in the file '/home/deann/public_html/inc/classes/BxDolCategories.php' at line 116.
Called 'getAll' function with erroneous argument #0.


Debug backtrace:

Array
(
    [1] => Array
        (
            [file] => /home/deann/public_html/inc/classes/BxDolDb.php
            [line] => 237
            [function] => error
            [class] => BxDolDb
            [object] => BxDolDb Object
                (
                    [error_checking] => 1
                    [error_message] => The used SELECT statements have a different number of columns
Quote · 7 Oct 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.