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

ERROR - 2020-06-24 12:07:28 --> Why else: Array
(
    [purchase_id] => 
    [transfer_id] => 
    [product_id] => 24
    [warehouse_id] => 1
    [option_id] => 
    [product_unit_id] => 4
    [product_unit_code] => pc
    [product_code] => FFR08
    [product_name] => PI Test after edit
    [item_tax] => 0.00
    [unit_cost] => 3.8900
    [real_unit_cost] => 3.8900
    [net_unit_cost] => 3.89
    [quantity_received] => -4
    [unit_quantity] => -4
    [quantity] => -4
    [quantity_balance] => -4
    [subtotal] => -15.56
    [tax] => 0
    [tax_rate_id] => 5
    [status] => received
    [date] => 2020-06-24
)

ERROR - 2020-06-24 12:07:28 --> Why else: Array
(
    [purchase_id] => 
    [transfer_id] => 
    [product_id] => 23
    [warehouse_id] => 1
    [option_id] => 
    [product_unit_id] => 4
    [product_unit_code] => pc
    [product_code] => TOY08
    [product_name] => Minion Amazed
    [item_tax] => 0.1000
    [unit_cost] => 1.1
    [real_unit_cost] => 1.0000
    [net_unit_cost] => 1.0000
    [quantity_received] => -4
    [unit_quantity] => -4
    [quantity] => -4
    [quantity_balance] => -4
    [subtotal] => -4.4
    [tax] => 10%
    [tax_rate_id] => 2
    [status] => received
    [date] => 2020-06-24
)

ERROR - 2020-06-24 12:13:23 --> Severity: Notice --> Undefined index: return_purchase_ref /Users/saleem/Sites/sma/app/models/admin/Purchases_model.php 58
ERROR - 2020-06-24 12:15:23 --> Severity: Notice --> Undefined index: return_purchase_ref /Users/saleem/Sites/sma/app/models/admin/Purchases_model.php 58
ERROR - 2020-06-24 12:17:51 --> Severity: Notice --> Undefined index: return_purchase_ref /Users/saleem/Sites/sma/app/models/admin/Purchases_model.php 58
ERROR - 2020-06-24 12:18:45 --> Severity: Notice --> Undefined index: return_purchase_ref /Users/saleem/Sites/sma/app/models/admin/Purchases_model.php 58
ERROR - 2020-06-24 12:20:21 --> Severity: Notice --> Undefined index: return_purchase_ref /Users/saleem/Sites/sma/app/models/admin/Purchases_model.php 58
ERROR - 2020-06-24 12:21:10 --> Severity: Notice --> Undefined index: return_purchase_ref /Users/saleem/Sites/sma/app/models/admin/Purchases_model.php 58
ERROR - 2020-06-24 12:57:41 --> Severity: Warning --> mysqli::real_escape_string(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 393
ERROR - 2020-06-24 12:57:41 --> Severity: Warning --> mysqli::real_escape_string(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 393
ERROR - 2020-06-24 12:57:41 --> Severity: Warning --> mysqli::real_escape_string(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 393
ERROR - 2020-06-24 12:57:41 --> Severity: Warning --> mysqli::query(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 307
ERROR - 2020-06-24 12:57:41 --> Severity: Warning --> CI_DB_mysqli_driver::error(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 511
ERROR - 2020-06-24 12:57:41 --> Severity: Warning --> CI_DB_mysqli_driver::error(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 511
ERROR - 2020-06-24 12:57:41 --> Query error:  - Invalid query: INSERT INTO `sma_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('', '', 1592974661, '')
ERROR - 2020-06-24 12:57:41 --> Severity: Warning --> Unknown: Cannot call session save handler in a recursive manner Unknown 0
ERROR - 2020-06-24 12:57:41 --> Severity: Warning --> Unknown: Failed to write session data using user defined save handler. (session.save_path: ) Unknown 0
ERROR - 2020-06-24 12:57:41 --> Severity: Warning --> mysqli::query(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 307
ERROR - 2020-06-24 12:57:41 --> Severity: Warning --> CI_DB_mysqli_driver::error(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 511
ERROR - 2020-06-24 12:57:41 --> Severity: Warning --> CI_DB_mysqli_driver::error(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 511
ERROR - 2020-06-24 12:57:41 --> Query error:  - Invalid query: SELECT RELEASE_LOCK('23031dd6b90a3945904b24e12ed7369a') AS ci_session_lock
ERROR - 2020-06-24 12:57:41 --> Severity: Warning --> Cannot modify header information - headers already sent /Users/saleem/Sites/sma/system/core/Common.php 570
ERROR - 2020-06-24 12:57:47 --> Severity: Notice --> Undefined index: HTTP_REFERER /Users/saleem/Sites/sma/app/controllers/Notify.php 25
ERROR - 2020-06-24 13:01:25 --> Severity: Warning --> mysqli::real_escape_string(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 393
ERROR - 2020-06-24 13:01:25 --> Severity: Warning --> mysqli::query(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 307
ERROR - 2020-06-24 13:01:25 --> Severity: Warning --> CI_DB_mysqli_driver::error(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 511
ERROR - 2020-06-24 13:01:25 --> Severity: Warning --> CI_DB_mysqli_driver::error(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 511
ERROR - 2020-06-24 13:01:25 --> Query error:  - Invalid query: UPDATE `sma_sessions` SET `timestamp` = 1592974885
WHERE `id` = ''
ERROR - 2020-06-24 13:01:25 --> Severity: Warning --> Unknown: Cannot call session save handler in a recursive manner Unknown 0
ERROR - 2020-06-24 13:01:25 --> Severity: Warning --> Unknown: Failed to write session data using user defined save handler. (session.save_path: ) Unknown 0
ERROR - 2020-06-24 13:01:25 --> Severity: Warning --> mysqli::query(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 307
ERROR - 2020-06-24 13:01:25 --> Severity: Warning --> CI_DB_mysqli_driver::error(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 511
ERROR - 2020-06-24 13:01:25 --> Severity: Warning --> CI_DB_mysqli_driver::error(): Couldn't fetch mysqli /Users/saleem/Sites/sma/system/database/drivers/mysqli/mysqli_driver.php 511
ERROR - 2020-06-24 13:01:25 --> Query error:  - Invalid query: SELECT RELEASE_LOCK('23031dd6b90a3945904b24e12ed7369a') AS ci_session_lock
ERROR - 2020-06-24 13:01:25 --> Severity: Warning --> Cannot modify header information - headers already sent /Users/saleem/Sites/sma/system/core/Common.php 570
ERROR - 2020-06-24 13:03:12 --> Could not find the language line " note"
ERROR - 2020-06-24 13:03:12 --> Could not find the language line "hide_form"
ERROR - 2020-06-24 13:03:12 --> Could not find the language line "show_form"
ERROR - 2020-06-24 21:12:14 --> Severity: Notice --> Undefined index: HTTP_REFERER /Users/saleem/Sites/sma/app/controllers/Notify.php 25
