A PHP Error was encountered

Severity: Warning

Message: Undefined array key "id"

Filename: controllers/Website.php

Line Number: 749

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 749
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key "quantity"

Filename: controllers/Website.php

Line Number: 750

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 750
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 332

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 332
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "product_id" on null

Filename: models/WebsiteM.php

Line Number: 332

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 332
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined variable $customer_id

Filename: models/WebsiteM.php

Line Number: 348

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 348
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 358

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 358
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "product_id" on null

Filename: models/WebsiteM.php

Line Number: 358

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 358
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 359

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 359
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "delivery_day" on null

Filename: models/WebsiteM.php

Line Number: 359

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 359
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined variable $customer_id

Filename: models/WebsiteM.php

Line Number: 360

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 360
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 361

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 361
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "product_name" on null

Filename: models/WebsiteM.php

Line Number: 361

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 361
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 362

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 362
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "cat_id" on null

Filename: models/WebsiteM.php

Line Number: 362

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 362
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined variable $min_quantity

Filename: models/WebsiteM.php

Line Number: 364

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 364
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined variable $login_type

Filename: models/WebsiteM.php

Line Number: 365

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 365
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 366

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 366
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "vendor_id" on null

Filename: models/WebsiteM.php

Line Number: 366

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 366
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 367

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 367
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "sub_cat_id" on null

Filename: models/WebsiteM.php

Line Number: 367

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 367
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 368

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 368
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "brand" on null

Filename: models/WebsiteM.php

Line Number: 368

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 368
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined variable $price

Filename: models/WebsiteM.php

Line Number: 369

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 369
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 370

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 370
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "product_image" on null

Filename: models/WebsiteM.php

Line Number: 370

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 370
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 371

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 371
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "product_unit" on null

Filename: models/WebsiteM.php

Line Number: 371

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 371
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 372

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 372
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "sale_unit" on null

Filename: models/WebsiteM.php

Line Number: 372

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 372
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 373

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 373
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "shipping_cost" on null

Filename: models/WebsiteM.php

Line Number: 373

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 373
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 374

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 374
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "product_tax" on null

Filename: models/WebsiteM.php

Line Number: 374

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 374
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/WebsiteM.php

Line Number: 375

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 375
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "product_discount" on null

Filename: models/WebsiteM.php

Line Number: 375

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 375
Function: _error_handler

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/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 /home1/gemwedb8/insha.org.in/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home1/gemwedb8/insha.org.in/application/models/WebsiteM.php
Line: 377
Function: insert

File: /home1/gemwedb8/insha.org.in/application/controllers/Website.php
Line: 752
Function: add_product_cart2

File: /home1/gemwedb8/insha.org.in/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1048

Column 'product_id' cannot be null

INSERT INTO `cart` (`product_id`, `delivery_day`, `customer_id`, `product_name`, `cat_id`, `quantity`, `min_quantity`, `login_type`, `vendor_id`, `sub_cat_id`, `brand`, `product_price`, `product_image`, `product_unit`, `sale_unit`, `shipping_cost`, `product_tax`, `product_discount`) VALUES (NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)

Filename: models/WebsiteM.php

Line Number: 377