Error
Database query error
Query:
SELECT COUNT( * ) FROM `BlogPosts` LEFT JOIN `BlogPostComments` ON `BlogPosts`.`PostID` = `BlogPostComments`.`PostID` WHERE `BlogPostComments`.`PostID` = 36877
Mysql error:
Lost connection to MySQL server during query
Found error in file /home/admin/domains/dzieci.eu/public_html/inc/classes/BxDolBlogs.php
at line 1701. Called db_arr function with erroneous argument #0

Debug backtrace:
Array
(
    [1] => Array
        (
            [file] => /home/admin/domains/dzieci.eu/public_html/inc/db.inc.php
            [line] => 117
            [function] => db_res
            [args] => Array
                (
                    [0] => 
					SELECT COUNT( * ) 
					FROM `BlogPosts`
					LEFT JOIN `BlogPostComments` ON `BlogPosts`.`PostID` = `BlogPostComments`.`PostID` 
					WHERE `BlogPostComments`.`PostID` = 36877
				
                    [1] => 1
                )

        )

    [2] => Array
        (
            [file] => /home/admin/domains/dzieci.eu/public_html/inc/classes/BxDolBlogs.php
            [line] => 1701
            [function] => db_arr
            [args] => Array
                (
                    [0] => 
					SELECT COUNT( * ) 
					FROM `BlogPosts`
					LEFT JOIN `BlogPostComments` ON `BlogPosts`.`PostID` = `BlogPostComments`.`PostID` 
					WHERE `BlogPostComments`.`PostID` = 36877
				
                )

        )

    [3] => Array
        (
            [file] => /home/admin/domains/dzieci.eu/public_html/blogs.php
            [line] => 71
            [function] => GenSearchResult
            [class] => BxDolBlogs
            [object] => BxDolBlogs Object
                (
                    [iIconSize] => 45
                    [iThumbSize] => 110
                    [iBigThumbSize] => 340
                    [iImgSize] => 800
                    [bAdminMode] => 
                    [sPicNotAvail] => 
                    [sSpacerPath] => templates/base/images/icons/spacer.gif
                    [aBlogConf] => Array
                        (
                            [visitorID] => 0
                            [ownerID] => 15244
                            [isOwner] => 
                            [editAllowed] => 
                            [period] => 1
                            [isFriend] => 
                            [loggedMember] => 
                            [commentMaxLenght] => 250
                            [categoryCaptionMaxLenght] => 150
                            [blogCaptionMaxLenght] => 150
                            [blogTextMaxLenght] => 2000
                            [breadCrampDivider] => /
                        )

                    [iLastPostedPostID] => -1
                    [iPerPageElements] => 10
                )

            [type] => ->
            [args] => Array
                (
                )

        )

    [4] => Array
        (
            [file] => /home/admin/domains/dzieci.eu/public_html/blogs.php
            [line] => 39
            [function] => PageCompBlogs
            [args] => Array
                (
                )

        )

)
Called script: /blogs.php
Request parameters:
Array
(
    [action] => search_by_tag
    [tagKey] => company
    [ownerID] => 15244
)