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: 2546

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2546
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: 2637

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2637
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: 2697

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2697
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: 2700

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2700
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: 2703

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2703
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: 2706

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2706
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: 2717

Backtrace:

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2717
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: 31
Function: insert

File: /home/ubuntu/project2/yoland_backend/application/controllers/Registration.php
Line: 2786
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: 31