Unknown column 'p.products_id' in 'field list'
Array
(
    [0] => Array
        (
            [file] => /var/www/clients/client1/web35/web/libs/BBOffice/Shop/Category.class.php
            [line] => 126
            [function] => Result
            [class] => BBOffice\Core\DB
            [object] => BBOffice\Core\DB Object
                (
                    [affected_rows] => -1
                    [client_info] => mysqlnd 5.0.12-dev - 20150407 - $Id: 401a40ebd5e281cf22215acdc170723a1519aaa9 $
                    [client_version] => 50012
                    [connect_errno] => 0
                    [connect_error] => 
                    [errno] => 1054
                    [error] => Unknown column 'p.products_id' in 'field list'
                    [error_list] => Array
                        (
                            [0] => Array
                                (
                                    [errno] => 1054
                                    [sqlstate] => 42S22
                                    [error] => Unknown column 'p.products_id' in 'field list'
                                )

                        )

                    [field_count] => 12
                    [host_info] => 192.168.100.39 via TCP/IP
                    [info] => 
                    [insert_id] => 0
                    [server_info] => 5.6.35-1trusty
                    [server_version] => 50635
                    [stat] => Uptime: 7352738  Threads: 6  Questions: 188898386  Slow queries: 1331  Opens: 204556  Flush tables: 8100  Open tables: 728  Queries per second avg: 25.690
                    [sqlstate] => 00000
                    [protocol_version] => 10
                    [thread_id] => 4663542
                    [warning_count] => 0
                )

            [type] => ->
            [args] => Array
                (
                    [0] => SELECT 
				p.products_id,p.products_price,p.products_price1,p.products_price2,p.products_price3,p.products_price4,p.products_price5,p.products_price6,p.products_price7,p.products_price8,p.products_price9,p.products_price10,p.products_price11,p.products_price12,p.products_price13,p.products_price14,p.products_price15,p.products_price16,p.products_price17,p.products_price18,p.products_price19,p.products_price20,p.products_price21,p.products_price22,p.products_price23,p.products_price24,p.products_price25,
				p.products_price1_qty,p.products_price2_qty,p.products_price3_qty,p.products_price4_qty,p.products_price5_qty,p.products_price6_qty,p.products_price7_qty,p.products_price8_qty,p.products_price9_qty,p.products_price10_qty,p.products_price11_qty,p.products_price12_qty,p.products_price13_qty,p.products_price14_qty,p.products_price15_qty,p.products_price16_qty,p.products_price17_qty,p.products_price18_qty,p.products_price19_qty,p.products_price20_qty,p.products_price21_qty,p.products_price22_qty,p.products_price23_qty,p.products_price24_qty,p.products_price25_qty,
				p.products_pricing_mode,tr.tax_rate
			FROM products_to_categories ptc 
			JOIN products p ON ptc.products_id=p.products_id 
			LEFT JOIN tax_rates tr ON p.products_tax_class_id=tr.tax_class_id 
			WHERE 
				ptc.categories_id=27 AND 
				p.products_status=1
                )

        )

    [1] => Array
        (
            [file] => /var/www/clients/client1/web35/web/index.php
            [line] => 177
            [function] => GetCheapestProduct
            [class] => BBOffice\Shop\Category
            [type] => ::
            [args] => Array
                (
                    [0] => 27
                )

        )

    [2] => Array
        (
            [file] => /var/www/clients/client1/web35/web/seo.php
            [line] => 10
            [args] => Array
                (
                    [0] => /var/www/clients/client1/web35/web/index.php
                )

            [function] => require
        )

)