Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; PDF has a deprecated constructor in /var/www/clients/client0/web3/web/control/_classes/PDF.php on line 8

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; FPDF has a deprecated constructor in /var/www/clients/client0/web3/web/libs/fpdf/fpdf.php on line 12

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; fpdi_pdf_parser has a deprecated constructor in /var/www/clients/client0/web3/web/libs/fpdi/fpdi_pdf_parser.php on line 22

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pdf_parser has a deprecated constructor in /var/www/clients/client0/web3/web/libs/fpdi/pdf_parser.php on line 51

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; pdf_context has a deprecated constructor in /var/www/clients/client0/web3/web/libs/fpdi/pdf_context.php on line 22

Warning: array_walk_recursive() expects parameter 1 to be array, string given in /var/www/clients/client0/web3/web/pdf.php on line 43

Warning: end() expects parameter 1 to be array, boolean given in /var/www/clients/client0/web3/web/pdf.php on line 52

Warning: reset() expects parameter 1 to be array, boolean given in /var/www/clients/client0/web3/web/pdf.php on line 53

Warning: array_walk_recursive() expects parameter 1 to be array, string given in /var/www/clients/client0/web3/web/pdf.php on line 207

Warning: Invalid argument supplied for foreach() in /var/www/clients/client0/web3/web/pdf.php on line 210

Warning: Invalid argument supplied for foreach() in /var/www/clients/client0/web3/web/pdf.php on line 638
FPDF error: Some data has already been output, can't send PDF file
DEBUG
Array
(
    [mysql] => Array
        (
            [0] => Array
                (
                    [query] => Select  w_cart_status.title,
							  w_cart_status_log.status,
							  w_cart_status_log.date,
							  w_cart_status_log.note,
							  w_cart_status.id
							From
							  w_cart_status_log Inner Join
							  w_cart_status On w_cart_status_log.status = w_cart_status.id
							Where
							  w_cart_status_log.cart_id = 
							 AND
							 w_cart_status_log.status != 1
							Order By
							  w_cart_status_log.date
                    [error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND
							 w_cart_status_log.status != 1
							Order By
							  w_cart_status' at line 11
                    [returning] => 
                    [result] => 
                    [time] => 0.0002s
                    [backtrace] => Array
                        (
                            [0] => Array
                                (
                                    [file] => /var/www/clients/client0/web3/web/control/_classes/db.php
                                    [line] => 85
                                    [function] => db_query
                                    [class] => db
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => Select  w_cart_status.title,
							  w_cart_status_log.status,
							  w_cart_status_log.date,
							  w_cart_status_log.note,
							  w_cart_status.id
							From
							  w_cart_status_log Inner Join
							  w_cart_status On w_cart_status_log.status = w_cart_status.id
							Where
							  w_cart_status_log.cart_id = 
							 AND
							 w_cart_status_log.status != 1
							Order By
							  w_cart_status_log.date
                                            [1] => 
                                        )

                                )

                            [1] => Array
                                (
                                    [file] => /var/www/clients/client0/web3/web/control/_classes/cart.php
                                    [line] => 2428
                                    [function] => query
                                    [class] => db
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => Select  w_cart_status.title,
							  w_cart_status_log.status,
							  w_cart_status_log.date,
							  w_cart_status_log.note,
							  w_cart_status.id
							From
							  w_cart_status_log Inner Join
							  w_cart_status On w_cart_status_log.status = w_cart_status.id
							Where
							  w_cart_status_log.cart_id = 
							 AND
							 w_cart_status_log.status != 1
							Order By
							  w_cart_status_log.date
							 
                                        )

                                )

                            [2] => Array
                                (
                                    [file] => /var/www/clients/client0/web3/web/pdf.php
                                    [line] => 45
                                    [function] => getBasketStatus
                                    [class] => cart
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
                                        )

                                )

                        )

                )

            [1] => Array
                (
                    [query] => SELECT * FROM w_cart_payments WHERE cartid =  ORDER BY date ASC
                    [error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY date ASC' at line 1
                    [returning] => 
                    [result] => 
                    [time] => 0.0001s
                    [backtrace] => Array
                        (
                            [0] => Array
                                (
                                    [file] => /var/www/clients/client0/web3/web/control/_classes/db.php
                                    [line] => 85
                                    [function] => db_query
                                    [class] => db
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => SELECT * FROM w_cart_payments WHERE cartid =  ORDER BY date ASC
                                            [1] => 
                                        )

                                )

                            [1] => Array
                                (
                                    [file] => /var/www/clients/client0/web3/web/control/_classes/cart.php
                                    [line] => 733
                                    [function] => query
                                    [class] => db
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => SELECT * FROM w_cart_payments WHERE cartid =  ORDER BY date ASC
                                        )

                                )

                            [2] => Array
                                (
                                    [file] => /var/www/clients/client0/web3/web/pdf.php
                                    [line] => 46
                                    [function] => getPayments
                                    [class] => cart
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
                                        )

                                )

                        )

                )

            [2] => Array
                (
                    [query] => Select 
										uc.zone 
									FROM 
										w_user_countries uc 
									INNER JOIN w_user_addresses ua On ua.country_id = uc.id 
									INNER JOIN w_cart c On c.shippingaddress_id = ua.id
									WHERE c.id =
                    [error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 7
                    [returning] => 
                    [result] => 
                    [time] => 0.0001s
                    [backtrace] => Array
                        (
                            [0] => Array
                                (
                                    [file] => /var/www/clients/client0/web3/web/control/_classes/db.php
                                    [line] => 85
                                    [function] => db_query
                                    [class] => db
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => Select 
										uc.zone 
									FROM 
										w_user_countries uc 
									INNER JOIN w_user_addresses ua On ua.country_id = uc.id 
									INNER JOIN w_cart c On c.shippingaddress_id = ua.id
									WHERE c.id =
                                            [1] => 
                                        )

                                )

                            [1] => Array
                                (
                                    [file] => /var/www/clients/client0/web3/web/control/_classes/cart.php
                                    [line] => 3738
                                    [function] => query
                                    [class] => db
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => Select 
										uc.zone 
									FROM 
										w_user_countries uc 
									INNER JOIN w_user_addresses ua On ua.country_id = uc.id 
									INNER JOIN w_cart c On c.shippingaddress_id = ua.id
									WHERE c.id = 
                                        )

                                )

                            [2] => Array
                                (
                                    [file] => /var/www/clients/client0/web3/web/pdf.php
                                    [line] => 48
                                    [function] => getShippingZone
                                    [class] => cart
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => 
                                        )

                                )

                        )

                )

        )

)
TRACES
Array
(
    [mysql] => Array
        (
            [0] => Array
                (
                    [memory] => 0.64Mb 
                    [time] => 0.4373
                    [timeSinceLast] => 0.4373
                    [lines] => Array
                        (
                            [0] => /var/www/clients/client0/web3/web/control/_classes/db.php - LINE: 74
                            [1] => /var/www/clients/client0/web3/web/control/_classes/db.php - LINE: 85
                            [2] => /var/www/clients/client0/web3/web/control/_classes/cart.php - LINE: 2428
                            [3] => /var/www/clients/client0/web3/web/pdf.php - LINE: 45
                        )

                )

            [1] => Array
                (
                    [memory] => 0.65Mb 
                    [time] => 0.4376
                    [timeSinceLast] => 0.0003
                    [lines] => Array
                        (
                            [0] => /var/www/clients/client0/web3/web/control/_classes/db.php - LINE: 74
                            [1] => /var/www/clients/client0/web3/web/control/_classes/db.php - LINE: 85
                            [2] => /var/www/clients/client0/web3/web/control/_classes/cart.php - LINE: 733
                            [3] => /var/www/clients/client0/web3/web/pdf.php - LINE: 46
                        )

                )

            [2] => Array
                (
                    [memory] => 0.65Mb 
                    [time] => 0.4379
                    [timeSinceLast] => 0.0003
                    [lines] => Array
                        (
                            [0] => /var/www/clients/client0/web3/web/control/_classes/db.php - LINE: 74
                            [1] => /var/www/clients/client0/web3/web/control/_classes/db.php - LINE: 85
                            [2] => /var/www/clients/client0/web3/web/control/_classes/cart.php - LINE: 3738
                            [3] => /var/www/clients/client0/web3/web/pdf.php - LINE: 48
                        )

                )

        )

)
TIMINGS

					GET
					
Array
(
    [orderhash] => leaflets
)
POST
Array
(
)
Globals

					PEAK MEMORY : 2Mb 
PAGE GENERATION : 0.4414s
SESSION
Array
(
    [errors] => D
    [THEME] => 0
    [system] => Array
        (
            [lasttime] => 0.43790316581726
        )

)