<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2021-09-29 16:38:25 --> Could not find the language line "Knit"
ERROR - 2021-09-29 16:38:25 --> Could not find the language line "Visa/Master"
ERROR - 2021-09-29 18:38:25 --> 404 Page Not Found: Public/css
ERROR - 2021-09-29 18:38:37 --> 404 Page Not Found: Public/css
ERROR - 2021-09-29 18:39:43 --> 404 Page Not Found: Public/css
ERROR - 2021-09-29 18:41:43 --> 404 Page Not Found: Public/css
ERROR - 2021-09-29 19:39:42 --> Severity: error --> Exception: json_decode(): Argument #1 ($json) must be of type string, array given D:\xampp\htdocs\bills\application\controllers\Orders.php 1124
ERROR - 2021-09-29 19:41:57 --> Severity: error --> Exception: Cannot use object of type stdClass as array D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 64
ERROR - 2021-09-29 19:42:36 --> Severity: error --> Exception: Cannot use object of type stdClass as array D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 64
ERROR - 2021-09-29 19:42:50 --> Severity: error --> Exception: Cannot use object of type stdClass as array D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 64
ERROR - 2021-09-29 19:44:43 --> Severity: error --> Exception: Cannot use object of type stdClass as array D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 70
ERROR - 2021-09-29 19:46:30 --> Severity: Warning --> Undefined array key 1 D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 67
ERROR - 2021-09-29 19:46:30 --> Severity: Warning --> Undefined array key 1 D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 67
ERROR - 2021-09-29 19:46:30 --> Severity: Warning --> Undefined array key 1 D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 67
ERROR - 2021-09-29 19:46:41 --> Severity: Warning --> Undefined array key 1 D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 67
ERROR - 2021-09-29 19:46:41 --> Severity: Warning --> Undefined array key 1 D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 67
ERROR - 2021-09-29 19:46:41 --> Severity: Warning --> Undefined array key 1 D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 67
ERROR - 2021-09-29 21:53:59 --> 404 Page Not Found: Public/css
ERROR - 2021-09-29 20:02:23 --> Query error: Unknown column 'orders.timestamp' in 'where clause' - Invalid query: SELECT SUM(CASE WHEN t.order_status = '0' THEN 1 ELSE 0 END) AS waiting, SUM(CASE WHEN t.order_status = '1' THEN 1 ELSE 0 END) AS preparing, SUM(CASE WHEN t.order_status = '2' THEN 1 ELSE 0 END) AS ready_for_deliver, SUM(CASE WHEN t.order_status = '3' THEN 1 ELSE 0 END) AS delivering, SUM(CASE WHEN t.order_status = '4' THEN 1 ELSE 0 END) AS delivered, SUM(CASE WHEN t.order_status = '5' THEN 1 ELSE 0 END) AS canceled, count(*) as all_data
FROM `orders` `t`
JOIN `bills_orders` ON `bills_orders`.`id_orders` = `t`.`id`
WHERE `orders`.`timestamp` >= '2021-09-01'
AND `orders`.`timestamp` <= '2021-09-24'
AND `type` =0
AND   (
   (
`call_center` = 1
AND `order_status` !=0
AND `order_status` != 5
  )
OR `call_center` =0
 )
AND bills_orders.id = (select min(o2.id)
              from bills_orders o2
              where o2.id_orders = bills_orders.id_orders
             )
ERROR - 2021-09-29 20:02:23 --> Severity: error --> Exception: Call to a member function row_array() on bool D:\xampp\htdocs\bills\application\controllers\Orders.php 235
ERROR - 2021-09-29 20:02:33 --> Severity: Warning --> Attempt to read property "payment_status" on array D:\xampp\htdocs\bills\application\controllers\Orders.php 255
ERROR - 2021-09-29 20:02:33 --> Severity: Warning --> Attempt to read property "payment_status" on array D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 82
ERROR - 2021-09-29 20:02:33 --> Severity: Warning --> Attempt to read property "payment_status" on array D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 82
ERROR - 2021-09-29 20:02:33 --> Severity: Warning --> Attempt to read property "payment_status" on array D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 82
ERROR - 2021-09-29 20:02:40 --> Severity: Warning --> Attempt to read property "payment_status" on array D:\xampp\htdocs\bills\application\controllers\Orders.php 255
ERROR - 2021-09-29 20:02:40 --> Severity: Warning --> Attempt to read property "payment_status" on array D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 82
ERROR - 2021-09-29 20:02:40 --> Severity: Warning --> Attempt to read property "payment_status" on array D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 82
ERROR - 2021-09-29 20:02:40 --> Severity: Warning --> Attempt to read property "payment_status" on array D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 82
ERROR - 2021-09-29 20:02:47 --> Severity: Warning --> Attempt to read property "payment_status" on array D:\xampp\htdocs\bills\application\controllers\Orders.php 255
ERROR - 2021-09-29 20:02:47 --> Severity: Warning --> Attempt to read property "payment_status" on array D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 82
ERROR - 2021-09-29 20:02:47 --> Severity: Warning --> Attempt to read property "payment_status" on array D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 82
ERROR - 2021-09-29 20:02:47 --> Severity: Warning --> Attempt to read property "payment_status" on array D:\xampp\htdocs\bills\application\models\admin\Orders_model.php 82
ERROR - 2021-09-29 20:03:16 --> Severity: Warning --> Attempt to read property "payment_status" on array D:\xampp\htdocs\bills\application\controllers\Orders.php 255
ERROR - 2021-09-29 20:03:35 --> Query error: Unknown column 'orders.timestamp' in 'where clause' - Invalid query: SELECT SUM(CASE WHEN t.order_status = '0' THEN 1 ELSE 0 END) AS waiting, SUM(CASE WHEN t.order_status = '1' THEN 1 ELSE 0 END) AS preparing, SUM(CASE WHEN t.order_status = '2' THEN 1 ELSE 0 END) AS ready_for_deliver, SUM(CASE WHEN t.order_status = '3' THEN 1 ELSE 0 END) AS delivering, SUM(CASE WHEN t.order_status = '4' THEN 1 ELSE 0 END) AS delivered, SUM(CASE WHEN t.order_status = '5' THEN 1 ELSE 0 END) AS canceled, count(*) as all_data
FROM `orders` `t`
JOIN `bills_orders` ON `bills_orders`.`id_orders` = `t`.`id`
WHERE `orders`.`timestamp` >= '2021-07-01'
AND `orders`.`timestamp` <= '2021-07-29'
AND `type` =0
AND   (
   (
`call_center` = 1
AND `order_status` !=0
AND `order_status` != 5
  )
OR `call_center` =0
 )
AND bills_orders.id = (select min(o2.id)
              from bills_orders o2
              where o2.id_orders = bills_orders.id_orders
             )
ERROR - 2021-09-29 20:03:35 --> Severity: error --> Exception: Call to a member function row_array() on bool D:\xampp\htdocs\bills\application\controllers\Orders.php 235
ERROR - 2021-09-29 20:03:46 --> Severity: Warning --> Attempt to read property "payment_status" on null D:\xampp\htdocs\bills\application\controllers\Orders.php 255
ERROR - 2021-09-29 20:04:16 --> Query error: Unknown column 'orders.timestamp' in 'where clause' - Invalid query: SELECT SUM(CASE WHEN t.order_status = '0' THEN 1 ELSE 0 END) AS waiting, SUM(CASE WHEN t.order_status = '1' THEN 1 ELSE 0 END) AS preparing, SUM(CASE WHEN t.order_status = '2' THEN 1 ELSE 0 END) AS ready_for_deliver, SUM(CASE WHEN t.order_status = '3' THEN 1 ELSE 0 END) AS delivering, SUM(CASE WHEN t.order_status = '4' THEN 1 ELSE 0 END) AS delivered, SUM(CASE WHEN t.order_status = '5' THEN 1 ELSE 0 END) AS canceled, count(*) as all_data
FROM `orders` `t`
JOIN `bills_orders` ON `bills_orders`.`id_orders` = `t`.`id`
WHERE `orders`.`timestamp` >= '2021-07-01'
AND `orders`.`timestamp` <= '2021-07-29'
AND `type` =0
AND   (
   (
`call_center` = 1
AND `order_status` !=0
AND `order_status` != 5
  )
OR `call_center` =0
 )
AND bills_orders.id = (select min(o2.id)
              from bills_orders o2
              where o2.id_orders = bills_orders.id_orders
             )
ERROR - 2021-09-29 20:04:16 --> Severity: error --> Exception: Call to a member function row_array() on bool D:\xampp\htdocs\bills\application\controllers\Orders.php 235
ERROR - 2021-09-29 20:04:22 --> Query error: Unknown column 'orders.timestamp' in 'where clause' - Invalid query: SELECT SUM(CASE WHEN t.order_status = '0' THEN 1 ELSE 0 END) AS waiting, SUM(CASE WHEN t.order_status = '1' THEN 1 ELSE 0 END) AS preparing, SUM(CASE WHEN t.order_status = '2' THEN 1 ELSE 0 END) AS ready_for_deliver, SUM(CASE WHEN t.order_status = '3' THEN 1 ELSE 0 END) AS delivering, SUM(CASE WHEN t.order_status = '4' THEN 1 ELSE 0 END) AS delivered, SUM(CASE WHEN t.order_status = '5' THEN 1 ELSE 0 END) AS canceled, count(*) as all_data
FROM `orders` `t`
JOIN `bills_orders` ON `bills_orders`.`id_orders` = `t`.`id`
WHERE `orders`.`timestamp` >= '2021-07-01'
AND `orders`.`timestamp` <= '2021-07-29'
AND `type` =0
AND   (
   (
`call_center` = 1
AND `order_status` !=0
AND `order_status` != 5
  )
OR `call_center` =0
 )
AND bills_orders.id = (select min(o2.id)
              from bills_orders o2
              where o2.id_orders = bills_orders.id_orders
             )
ERROR - 2021-09-29 20:04:22 --> Severity: error --> Exception: Call to a member function row_array() on bool D:\xampp\htdocs\bills\application\controllers\Orders.php 235
ERROR - 2021-09-29 20:04:30 --> Query error: Unknown column 'orders.timestamp' in 'where clause' - Invalid query: SELECT SUM(CASE WHEN t.order_status = '0' THEN 1 ELSE 0 END) AS waiting, SUM(CASE WHEN t.order_status = '1' THEN 1 ELSE 0 END) AS preparing, SUM(CASE WHEN t.order_status = '2' THEN 1 ELSE 0 END) AS ready_for_deliver, SUM(CASE WHEN t.order_status = '3' THEN 1 ELSE 0 END) AS delivering, SUM(CASE WHEN t.order_status = '4' THEN 1 ELSE 0 END) AS delivered, SUM(CASE WHEN t.order_status = '5' THEN 1 ELSE 0 END) AS canceled, count(*) as all_data
FROM `orders` `t`
JOIN `bills_orders` ON `bills_orders`.`id_orders` = `t`.`id`
WHERE `orders`.`timestamp` >= '2021-07-01'
AND `orders`.`timestamp` <= '2021-07-29'
AND `type` =0
AND   (
   (
`call_center` = 1
AND `order_status` !=0
AND `order_status` != 5
  )
OR `call_center` =0
 )
AND bills_orders.id = (select min(o2.id)
              from bills_orders o2
              where o2.id_orders = bills_orders.id_orders
             )
ERROR - 2021-09-29 20:04:30 --> Severity: error --> Exception: Call to a member function row_array() on bool D:\xampp\htdocs\bills\application\controllers\Orders.php 235
ERROR - 2021-09-29 20:04:47 --> Query error: Unknown column 'orders.timestamp' in 'where clause' - Invalid query: SELECT SUM(CASE WHEN t.order_status = '0' THEN 1 ELSE 0 END) AS waiting, SUM(CASE WHEN t.order_status = '1' THEN 1 ELSE 0 END) AS preparing, SUM(CASE WHEN t.order_status = '2' THEN 1 ELSE 0 END) AS ready_for_deliver, SUM(CASE WHEN t.order_status = '3' THEN 1 ELSE 0 END) AS delivering, SUM(CASE WHEN t.order_status = '4' THEN 1 ELSE 0 END) AS delivered, SUM(CASE WHEN t.order_status = '5' THEN 1 ELSE 0 END) AS canceled, count(*) as all_data
FROM `orders` `t`
JOIN `bills_orders` ON `bills_orders`.`id_orders` = `t`.`id`
WHERE `orders`.`timestamp` >= '2021-07-01'
AND `orders`.`timestamp` <= '2021-07-29'
AND `type` =0
AND   (
   (
`call_center` = 1
AND `order_status` !=0
AND `order_status` != 5
  )
OR `call_center` =0
 )
AND bills_orders.id = (select min(o2.id)
              from bills_orders o2
              where o2.id_orders = bills_orders.id_orders
             )
ERROR - 2021-09-29 20:04:47 --> Severity: error --> Exception: Call to a member function row_array() on bool D:\xampp\htdocs\bills\application\controllers\Orders.php 235
