A PHP Error was encountered

Severity: 8192

Message: ucwords(): Passing null to parameter #1 ($string) of type string is deprecated

Filename: controllers/Registration.php

Line Number: 2639

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2639
Function: ucwords

File: /home/ubuntu/project2/yoland_backend/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: ucwords(): Passing null to parameter #1 ($string) of type string is deprecated

Filename: controllers/Registration.php

Line Number: 2730

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2730
Function: ucwords

File: /home/ubuntu/project2/yoland_backend/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated

Filename: controllers/Registration.php

Line Number: 2790

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2790
Function: json_decode

File: /home/ubuntu/project2/yoland_backend/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated

Filename: controllers/Registration.php

Line Number: 2793

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2793
Function: json_decode

File: /home/ubuntu/project2/yoland_backend/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated

Filename: controllers/Registration.php

Line Number: 2796

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2796
Function: json_decode

File: /home/ubuntu/project2/yoland_backend/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated

Filename: controllers/Registration.php

Line Number: 2799

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2799
Function: json_decode

File: /home/ubuntu/project2/yoland_backend/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated

Filename: controllers/Registration.php

Line Number: 2810

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2810
Function: json_decode

File: /home/ubuntu/project2/yoland_backend/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/ubuntu/project2/yoland_backend/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 571

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/models/MyModel.php
Line: 29
Function: insert

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2879
Function: insert_data

File: /home/ubuntu/project2/yoland_backend/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1048

Column 'code' cannot be null

INSERT INTO `products` (`companyid`, `code`, `name`, `description`, `cat_id`, `subcat_id`, `vendor`, `EAN`, `barcode`, `img`, `img2`, `img3`, `img4`, `rate1`, `rate2`, `rate3`, `MRP`, `UOM`, `moq`, `commission`, `tax_schedule`, `srlNo`, `cess`, `max_dicsAmount`, `max_discountPer`, `whole_sale`, `purchase_price`, `retails_price`, `ecommerce`, `status`, `forign_name`, `item_type`, `sales_dDays`, `purchase_dDays`, `sales_uom`, `purchse_uom`, `inventry_type`, `re_orderQty`, `tailoring`, `tailoring_rate`, `cutting_rate`, `sweeing_rate`, `MAQ`) VALUES (0, NULL, '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, NULL)

Filename: models/MyModel.php

Line Number: 29