DB Error: unknown error
DB_Error Object
(
    [error_message_prefix] => 
    [mode] => 1
    [level] => 1024
    [code] => -1
    [message] => DB Error: unknown error
    [userinfo] => SELECT properties.id,
										properties.bedrooms,
										properties.bathrooms,
										properties.view_ru AS view,
										properties.size_property,
										 properties.name_ru AS name,
										 properties.brief_info_ru AS description,
										 properties.price_starts_from,
										 properties.price_total,
										 properties.user_id,
										 properties.city_id,
										 (SELECT pic FROM bulgarienhus_properties_images WHERE property_id = properties.id ORDER BY pos LIMIT 1) AS pic,
										 (SELECT cities.name_ru FROM bulgarienhus_cities AS cities WHERE cities.id = properties.city_id) AS city_name,
										 (SELECT municipalities.name_ru FROM bulgarienhus_municipalities AS municipalities WHERE municipalities.id = properties.municipality_id) AS municipality_name
								FROM bulgarienhus_properties AS properties
								WHERE properties.edate = 0
								AND properties.top_offer = 1
								AND properties.active = 1
								ORDER BY RAND()
								LIMIT 4
								 [nativecode=1226 ** User 'bulgarienhus' has exceeded the 'max_queries_per_hour' resource (current value: 32000)]
    [backtrace] => Array
        (
            [0] => Array
                (
                    [file] => /www/bulgarienhus.ru/root/pear/DB.php
                    [line] => 748
                    [function] => PEAR_Error
                    [class] => PEAR_Error
                    [object] => DB_Error Object
 *RECURSION*
                    [type] => ->
                    [args] => Array
                        (
                            [0] => DB Error: unknown error
                            [1] => -1
                            [2] => 1
                            [3] => 1024
                            [4] => SELECT properties.id,
										properties.bedrooms,
										properties.bathrooms,
										properties.view_ru AS view,
										properties.size_property,
										 properties.name_ru AS name,
										 properties.brief_info_ru AS description,
										 properties.price_starts_from,
										 properties.price_total,
										 properties.user_id,
										 properties.city_id,
										 (SELECT pic FROM bulgarienhus_properties_images WHERE property_id = properties.id ORDER BY pos LIMIT 1) AS pic,
										 (SELECT cities.name_ru FROM bulgarienhus_cities AS cities WHERE cities.id = properties.city_id) AS city_name,
										 (SELECT municipalities.name_ru FROM bulgarienhus_municipalities AS municipalities WHERE municipalities.id = properties.municipality_id) AS municipality_name
								FROM bulgarienhus_properties AS properties
								WHERE properties.edate = 0
								AND properties.top_offer = 1
								AND properties.active = 1
								ORDER BY RAND()
								LIMIT 4
								 [nativecode=1226 ** User 'bulgarienhus' has exceeded the 'max_queries_per_hour' resource (current value: 32000)]
                        )

                )

            [1] => Array
                (
                    [file] => /www/bulgarienhus.ru/root/pear/PEAR.php
                    [line] => 541
                    [function] => DB_Error
                    [class] => DB_Error
                    [object] => DB_Error Object
 *RECURSION*
                    [type] => ->
                    [args] => Array
                        (
                            [0] => -1
                            [1] => 1
                            [2] => 1024
                            [3] => SELECT properties.id,
										properties.bedrooms,
										properties.bathrooms,
										properties.view_ru AS view,
										properties.size_property,
										 properties.name_ru AS name,
										 properties.brief_info_ru AS description,
										 properties.price_starts_from,
										 properties.price_total,
										 properties.user_id,
										 properties.city_id,
										 (SELECT pic FROM bulgarienhus_properties_images WHERE property_id = properties.id ORDER BY pos LIMIT 1) AS pic,
										 (SELECT cities.name_ru FROM bulgarienhus_cities AS cities WHERE cities.id = properties.city_id) AS city_name,
										 (SELECT municipalities.name_ru FROM bulgarienhus_municipalities AS municipalities WHERE municipalities.id = properties.municipality_id) AS municipality_name
								FROM bulgarienhus_properties AS properties
								WHERE properties.edate = 0
								AND properties.top_offer = 1
								AND properties.active = 1
								ORDER BY RAND()
								LIMIT 4
								 [nativecode=1226 ** User 'bulgarienhus' has exceeded the 'max_queries_per_hour' resource (current value: 32000)]
                        )

                )

            [2] => Array
                (
                    [file] => /www/bulgarienhus.ru/root/pear/DB/common.php
                    [line] => 495
                    [function] => raiseError
                    [class] => PEAR
                    [object] => DB_mysql Object
                        (
                            [connection] => Resource id #14
                            [phptype] => mysql
                            [dbsyntax] => mysql
                            [prepare_tokens] => Array
                                (
                                )

                            [prepare_types] => Array
                                (
                                )

                            [num_rows] => Array
                                (
                                    [30] => 1
                                    [34] => 8
                                    [43] => 8
                                    [44] => 11
                                    [46] => 1
                                    [47] => 3
                                    [48] => 6
                                )

                            [transaction_opcount] => 0
                            [autocommit] => 1
                            [fetchmode] => 2
                            [_db] => bulgarienhus
                            [features] => Array
                                (
                                    [prepare] => 
                                    [pconnect] => 1
                                    [transactions] => 1
                                    [limit] => alter
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1046] => -14
                                    [1048] => -3
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1062] => -5
                                    [1064] => -2
                                    [1100] => -21
                                    [1136] => -22
                                    [1146] => -18
                                    [1216] => -3
                                    [1217] => -3
                                )

                            [prepared_queries] => 
                            [prepare_maxstmt] => 0
                            [last_query] => SELECT properties.id,
										properties.bedrooms,
										properties.bathrooms,
										properties.view_ru AS view,
										properties.size_property,
										 properties.name_ru AS name,
										 properties.brief_info_ru AS description,
										 properties.price_starts_from,
										 properties.price_total,
										 properties.user_id,
										 properties.city_id,
										 (SELECT pic FROM bulgarienhus_properties_images WHERE property_id = properties.id ORDER BY pos LIMIT 1) AS pic,
										 (SELECT cities.name_ru FROM bulgarienhus_cities AS cities WHERE cities.id = properties.city_id) AS city_name,
										 (SELECT municipalities.name_ru FROM bulgarienhus_municipalities AS municipalities WHERE municipalities.id = properties.municipality_id) AS municipality_name
								FROM bulgarienhus_properties AS properties
								WHERE properties.edate = 0
								AND properties.top_offer = 1
								AND properties.active = 1
								ORDER BY RAND()
								LIMIT 4
								
                            [fetchmode_object_class] => stdClass
                            [options] => Array
                                (
                                    [persistent] => 
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [dbh] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                            [dsn] => Array
                                (
                                    [phptype] => mysql
                                    [dbsyntax] => mysql
                                    [username] => bulgarienhus
                                    [password] => dfgj24234d
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => bulgarienhus
                                )

                        )

                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                            [1] => -1
                            [2] => 
                            [3] => 
                            [4] => SELECT properties.id,
										properties.bedrooms,
										properties.bathrooms,
										properties.view_ru AS view,
										properties.size_property,
										 properties.name_ru AS name,
										 properties.brief_info_ru AS description,
										 properties.price_starts_from,
										 properties.price_total,
										 properties.user_id,
										 properties.city_id,
										 (SELECT pic FROM bulgarienhus_properties_images WHERE property_id = properties.id ORDER BY pos LIMIT 1) AS pic,
										 (SELECT cities.name_ru FROM bulgarienhus_cities AS cities WHERE cities.id = properties.city_id) AS city_name,
										 (SELECT municipalities.name_ru FROM bulgarienhus_municipalities AS municipalities WHERE municipalities.id = properties.municipality_id) AS municipality_name
								FROM bulgarienhus_properties AS properties
								WHERE properties.edate = 0
								AND properties.top_offer = 1
								AND properties.active = 1
								ORDER BY RAND()
								LIMIT 4
								 [nativecode=1226 ** User 'bulgarienhus' has exceeded the 'max_queries_per_hour' resource (current value: 32000)]
                            [5] => DB_Error
                            [6] => 1
                        )

                )

            [3] => Array
                (
                    [file] => /www/bulgarienhus.ru/root/pear/DB/mysql.php
                    [line] => 776
                    [function] => raiseError
                    [class] => DB_common
                    [object] => DB_mysql Object
                        (
                            [connection] => Resource id #14
                            [phptype] => mysql
                            [dbsyntax] => mysql
                            [prepare_tokens] => Array
                                (
                                )

                            [prepare_types] => Array
                                (
                                )

                            [num_rows] => Array
                                (
                                    [30] => 1
                                    [34] => 8
                                    [43] => 8
                                    [44] => 11
                                    [46] => 1
                                    [47] => 3
                                    [48] => 6
                                )

                            [transaction_opcount] => 0
                            [autocommit] => 1
                            [fetchmode] => 2
                            [_db] => bulgarienhus
                            [features] => Array
                                (
                                    [prepare] => 
                                    [pconnect] => 1
                                    [transactions] => 1
                                    [limit] => alter
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1046] => -14
                                    [1048] => -3
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1062] => -5
                                    [1064] => -2
                                    [1100] => -21
                                    [1136] => -22
                                    [1146] => -18
                                    [1216] => -3
                                    [1217] => -3
                                )

                            [prepared_queries] => 
                            [prepare_maxstmt] => 0
                            [last_query] => SELECT properties.id,
										properties.bedrooms,
										properties.bathrooms,
										properties.view_ru AS view,
										properties.size_property,
										 properties.name_ru AS name,
										 properties.brief_info_ru AS description,
										 properties.price_starts_from,
										 properties.price_total,
										 properties.user_id,
										 properties.city_id,
										 (SELECT pic FROM bulgarienhus_properties_images WHERE property_id = properties.id ORDER BY pos LIMIT 1) AS pic,
										 (SELECT cities.name_ru FROM bulgarienhus_cities AS cities WHERE cities.id = properties.city_id) AS city_name,
										 (SELECT municipalities.name_ru FROM bulgarienhus_municipalities AS municipalities WHERE municipalities.id = properties.municipality_id) AS municipality_name
								FROM bulgarienhus_properties AS properties
								WHERE properties.edate = 0
								AND properties.top_offer = 1
								AND properties.active = 1
								ORDER BY RAND()
								LIMIT 4
								
                            [fetchmode_object_class] => stdClass
                            [options] => Array
                                (
                                    [persistent] => 
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [dbh] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                            [dsn] => Array
                                (
                                    [phptype] => mysql
                                    [dbsyntax] => mysql
                                    [username] => bulgarienhus
                                    [password] => dfgj24234d
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => bulgarienhus
                                )

                        )

                    [type] => ->
                    [args] => Array
                        (
                            [0] => -1
                            [1] => 
                            [2] => 
                            [3] => 
                            [4] => 1226 ** User 'bulgarienhus' has exceeded the 'max_queries_per_hour' resource (current value: 32000)
                        )

                )

            [4] => Array
                (
                    [file] => /www/bulgarienhus.ru/root/pear/DB/mysql.php
                    [line] => 228
                    [function] => mysqlRaiseError
                    [class] => DB_mysql
                    [object] => DB_mysql Object
                        (
                            [connection] => Resource id #14
                            [phptype] => mysql
                            [dbsyntax] => mysql
                            [prepare_tokens] => Array
                                (
                                )

                            [prepare_types] => Array
                                (
                                )

                            [num_rows] => Array
                                (
                                    [30] => 1
                                    [34] => 8
                                    [43] => 8
                                    [44] => 11
                                    [46] => 1
                                    [47] => 3
                                    [48] => 6
                                )

                            [transaction_opcount] => 0
                            [autocommit] => 1
                            [fetchmode] => 2
                            [_db] => bulgarienhus
                            [features] => Array
                                (
                                    [prepare] => 
                                    [pconnect] => 1
                                    [transactions] => 1
                                    [limit] => alter
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1046] => -14
                                    [1048] => -3
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1062] => -5
                                    [1064] => -2
                                    [1100] => -21
                                    [1136] => -22
                                    [1146] => -18
                                    [1216] => -3
                                    [1217] => -3
                                )

                            [prepared_queries] => 
                            [prepare_maxstmt] => 0
                            [last_query] => SELECT properties.id,
										properties.bedrooms,
										properties.bathrooms,
										properties.view_ru AS view,
										properties.size_property,
										 properties.name_ru AS name,
										 properties.brief_info_ru AS description,
										 properties.price_starts_from,
										 properties.price_total,
										 properties.user_id,
										 properties.city_id,
										 (SELECT pic FROM bulgarienhus_properties_images WHERE property_id = properties.id ORDER BY pos LIMIT 1) AS pic,
										 (SELECT cities.name_ru FROM bulgarienhus_cities AS cities WHERE cities.id = properties.city_id) AS city_name,
										 (SELECT municipalities.name_ru FROM bulgarienhus_municipalities AS municipalities WHERE municipalities.id = properties.municipality_id) AS municipality_name
								FROM bulgarienhus_properties AS properties
								WHERE properties.edate = 0
								AND properties.top_offer = 1
								AND properties.active = 1
								ORDER BY RAND()
								LIMIT 4
								
                            [fetchmode_object_class] => stdClass
                            [options] => Array
                                (
                                    [persistent] => 
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [dbh] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                            [dsn] => Array
                                (
                                    [phptype] => mysql
                                    [dbsyntax] => mysql
                                    [username] => bulgarienhus
                                    [password] => dfgj24234d
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => bulgarienhus
                                )

                        )

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

                )

            [5] => Array
                (
                    [file] => /www/bulgarienhus.ru/root/pear/DB/common.php
                    [line] => 1135
                    [function] => simpleQuery
                    [class] => DB_mysql
                    [object] => DB_mysql Object
                        (
                            [connection] => Resource id #14
                            [phptype] => mysql
                            [dbsyntax] => mysql
                            [prepare_tokens] => Array
                                (
                                )

                            [prepare_types] => Array
                                (
                                )

                            [num_rows] => Array
                                (
                                    [30] => 1
                                    [34] => 8
                                    [43] => 8
                                    [44] => 11
                                    [46] => 1
                                    [47] => 3
                                    [48] => 6
                                )

                            [transaction_opcount] => 0
                            [autocommit] => 1
                            [fetchmode] => 2
                            [_db] => bulgarienhus
                            [features] => Array
                                (
                                    [prepare] => 
                                    [pconnect] => 1
                                    [transactions] => 1
                                    [limit] => alter
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1046] => -14
                                    [1048] => -3
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1062] => -5
                                    [1064] => -2
                                    [1100] => -21
                                    [1136] => -22
                                    [1146] => -18
                                    [1216] => -3
                                    [1217] => -3
                                )

                            [prepared_queries] => 
                            [prepare_maxstmt] => 0
                            [last_query] => SELECT properties.id,
										properties.bedrooms,
										properties.bathrooms,
										properties.view_ru AS view,
										properties.size_property,
										 properties.name_ru AS name,
										 properties.brief_info_ru AS description,
										 properties.price_starts_from,
										 properties.price_total,
										 properties.user_id,
										 properties.city_id,
										 (SELECT pic FROM bulgarienhus_properties_images WHERE property_id = properties.id ORDER BY pos LIMIT 1) AS pic,
										 (SELECT cities.name_ru FROM bulgarienhus_cities AS cities WHERE cities.id = properties.city_id) AS city_name,
										 (SELECT municipalities.name_ru FROM bulgarienhus_municipalities AS municipalities WHERE municipalities.id = properties.municipality_id) AS municipality_name
								FROM bulgarienhus_properties AS properties
								WHERE properties.edate = 0
								AND properties.top_offer = 1
								AND properties.active = 1
								ORDER BY RAND()
								LIMIT 4
								
                            [fetchmode_object_class] => stdClass
                            [options] => Array
                                (
                                    [persistent] => 
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [dbh] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                            [dsn] => Array
                                (
                                    [phptype] => mysql
                                    [dbsyntax] => mysql
                                    [username] => bulgarienhus
                                    [password] => dfgj24234d
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => bulgarienhus
                                )

                        )

                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT properties.id,
										properties.bedrooms,
										properties.bathrooms,
										properties.view_ru AS view,
										properties.size_property,
										 properties.name_ru AS name,
										 properties.brief_info_ru AS description,
										 properties.price_starts_from,
										 properties.price_total,
										 properties.user_id,
										 properties.city_id,
										 (SELECT pic FROM bulgarienhus_properties_images WHERE property_id = properties.id ORDER BY pos LIMIT 1) AS pic,
										 (SELECT cities.name_ru FROM bulgarienhus_cities AS cities WHERE cities.id = properties.city_id) AS city_name,
										 (SELECT municipalities.name_ru FROM bulgarienhus_municipalities AS municipalities WHERE municipalities.id = properties.municipality_id) AS municipality_name
								FROM bulgarienhus_properties AS properties
								WHERE properties.edate = 0
								AND properties.top_offer = 1
								AND properties.active = 1
								ORDER BY RAND()
								LIMIT 4
								
                        )

                )

            [6] => Array
                (
                    [file] => /www/bulgarienhus.ru/root/pear/DB/common.php
                    [line] => 1572
                    [function] => query
                    [class] => DB_common
                    [object] => DB_mysql Object
                        (
                            [connection] => Resource id #14
                            [phptype] => mysql
                            [dbsyntax] => mysql
                            [prepare_tokens] => Array
                                (
                                )

                            [prepare_types] => Array
                                (
                                )

                            [num_rows] => Array
                                (
                                    [30] => 1
                                    [34] => 8
                                    [43] => 8
                                    [44] => 11
                                    [46] => 1
                                    [47] => 3
                                    [48] => 6
                                )

                            [transaction_opcount] => 0
                            [autocommit] => 1
                            [fetchmode] => 2
                            [_db] => bulgarienhus
                            [features] => Array
                                (
                                    [prepare] => 
                                    [pconnect] => 1
                                    [transactions] => 1
                                    [limit] => alter
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1046] => -14
                                    [1048] => -3
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1062] => -5
                                    [1064] => -2
                                    [1100] => -21
                                    [1136] => -22
                                    [1146] => -18
                                    [1216] => -3
                                    [1217] => -3
                                )

                            [prepared_queries] => 
                            [prepare_maxstmt] => 0
                            [last_query] => SELECT properties.id,
										properties.bedrooms,
										properties.bathrooms,
										properties.view_ru AS view,
										properties.size_property,
										 properties.name_ru AS name,
										 properties.brief_info_ru AS description,
										 properties.price_starts_from,
										 properties.price_total,
										 properties.user_id,
										 properties.city_id,
										 (SELECT pic FROM bulgarienhus_properties_images WHERE property_id = properties.id ORDER BY pos LIMIT 1) AS pic,
										 (SELECT cities.name_ru FROM bulgarienhus_cities AS cities WHERE cities.id = properties.city_id) AS city_name,
										 (SELECT municipalities.name_ru FROM bulgarienhus_municipalities AS municipalities WHERE municipalities.id = properties.municipality_id) AS municipality_name
								FROM bulgarienhus_properties AS properties
								WHERE properties.edate = 0
								AND properties.top_offer = 1
								AND properties.active = 1
								ORDER BY RAND()
								LIMIT 4
								
                            [fetchmode_object_class] => stdClass
                            [options] => Array
                                (
                                    [persistent] => 
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [dbh] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                            [dsn] => Array
                                (
                                    [phptype] => mysql
                                    [dbsyntax] => mysql
                                    [username] => bulgarienhus
                                    [password] => dfgj24234d
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => bulgarienhus
                                )

                        )

                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT properties.id,
										properties.bedrooms,
										properties.bathrooms,
										properties.view_ru AS view,
										properties.size_property,
										 properties.name_ru AS name,
										 properties.brief_info_ru AS description,
										 properties.price_starts_from,
										 properties.price_total,
										 properties.user_id,
										 properties.city_id,
										 (SELECT pic FROM bulgarienhus_properties_images WHERE property_id = properties.id ORDER BY pos LIMIT 1) AS pic,
										 (SELECT cities.name_ru FROM bulgarienhus_cities AS cities WHERE cities.id = properties.city_id) AS city_name,
										 (SELECT municipalities.name_ru FROM bulgarienhus_municipalities AS municipalities WHERE municipalities.id = properties.municipality_id) AS municipality_name
								FROM bulgarienhus_properties AS properties
								WHERE properties.edate = 0
								AND properties.top_offer = 1
								AND properties.active = 1
								ORDER BY RAND()
								LIMIT 4
								
                        )

                )

            [7] => Array
                (
                    [file] => /www/bulgarienhus.ru/root/globals.php
                    [line] => 313
                    [function] => getAll
                    [class] => DB_common
                    [object] => DB_mysql Object
                        (
                            [connection] => Resource id #14
                            [phptype] => mysql
                            [dbsyntax] => mysql
                            [prepare_tokens] => Array
                                (
                                )

                            [prepare_types] => Array
                                (
                                )

                            [num_rows] => Array
                                (
                                    [30] => 1
                                    [34] => 8
                                    [43] => 8
                                    [44] => 11
                                    [46] => 1
                                    [47] => 3
                                    [48] => 6
                                )

                            [transaction_opcount] => 0
                            [autocommit] => 1
                            [fetchmode] => 2
                            [_db] => bulgarienhus
                            [features] => Array
                                (
                                    [prepare] => 
                                    [pconnect] => 1
                                    [transactions] => 1
                                    [limit] => alter
                                )

                            [errorcode_map] => Array
                                (
                                    [1004] => -15
                                    [1005] => -15
                                    [1006] => -15
                                    [1007] => -5
                                    [1008] => -17
                                    [1022] => -5
                                    [1046] => -14
                                    [1048] => -3
                                    [1050] => -5
                                    [1051] => -18
                                    [1054] => -19
                                    [1062] => -5
                                    [1064] => -2
                                    [1100] => -21
                                    [1136] => -22
                                    [1146] => -18
                                    [1216] => -3
                                    [1217] => -3
                                )

                            [prepared_queries] => 
                            [prepare_maxstmt] => 0
                            [last_query] => SELECT properties.id,
										properties.bedrooms,
										properties.bathrooms,
										properties.view_ru AS view,
										properties.size_property,
										 properties.name_ru AS name,
										 properties.brief_info_ru AS description,
										 properties.price_starts_from,
										 properties.price_total,
										 properties.user_id,
										 properties.city_id,
										 (SELECT pic FROM bulgarienhus_properties_images WHERE property_id = properties.id ORDER BY pos LIMIT 1) AS pic,
										 (SELECT cities.name_ru FROM bulgarienhus_cities AS cities WHERE cities.id = properties.city_id) AS city_name,
										 (SELECT municipalities.name_ru FROM bulgarienhus_municipalities AS municipalities WHERE municipalities.id = properties.municipality_id) AS municipality_name
								FROM bulgarienhus_properties AS properties
								WHERE properties.edate = 0
								AND properties.top_offer = 1
								AND properties.active = 1
								ORDER BY RAND()
								LIMIT 4
								
                            [fetchmode_object_class] => stdClass
                            [options] => Array
                                (
                                    [persistent] => 
                                    [ssl] => 
                                    [debug] => 0
                                    [seqname_format] => %s_seq
                                    [autofree] => 
                                    [portability] => 0
                                    [optimize] => performance
                                )

                            [dbh] => 
                            [_debug] => 
                            [_default_error_mode] => 
                            [_default_error_options] => 
                            [_default_error_handler] => 
                            [_error_class] => DB_Error
                            [_expected_errors] => Array
                                (
                                )

                            [dsn] => Array
                                (
                                    [phptype] => mysql
                                    [dbsyntax] => mysql
                                    [username] => bulgarienhus
                                    [password] => dfgj24234d
                                    [protocol] => tcp
                                    [hostspec] => localhost
                                    [port] => 
                                    [socket] => 
                                    [database] => bulgarienhus
                                )

                        )

                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT properties.id,
										properties.bedrooms,
										properties.bathrooms,
										properties.view_ru AS view,
										properties.size_property,
										 properties.name_ru AS name,
										 properties.brief_info_ru AS description,
										 properties.price_starts_from,
										 properties.price_total,
										 properties.user_id,
										 properties.city_id,
										 (SELECT pic FROM bulgarienhus_properties_images WHERE property_id = properties.id ORDER BY pos LIMIT 1) AS pic,
										 (SELECT cities.name_ru FROM bulgarienhus_cities AS cities WHERE cities.id = properties.city_id) AS city_name,
										 (SELECT municipalities.name_ru FROM bulgarienhus_municipalities AS municipalities WHERE municipalities.id = properties.municipality_id) AS municipality_name
								FROM bulgarienhus_properties AS properties
								WHERE properties.edate = 0
								AND properties.top_offer = 1
								AND properties.active = 1
								ORDER BY RAND()
								LIMIT 4
								
                        )

                )

            [8] => Array
                (
                    [file] => /www/bulgarienhus.ru/root/show_property.php
                    [line] => 2
                    [args] => Array
                        (
                            [0] => /www/bulgarienhus.ru/root/globals.php
                        )

                    [function] => include
                )

        )

    [callback] => 
)