A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 1

Filename: controllers/Brands.php

Line Number: 103

Backtrace:

File: /home/franchisedada/public_html/application/controllers/Brands.php
Line: 103
Function: _error_handler

File: /home/franchisedada/public_html/index.php
Line: 315
Function: require_once

Franchisedada

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/franchisedada/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/franchisedada/public_html/application/models/Brand_Model.php
Line: 657
Function: insert

File: /home/franchisedada/public_html/application/views/Admin/brandview.php
Line: 170
Function: create_buyer

File: /home/franchisedada/public_html/application/controllers/Brands.php
Line: 125
Function: view

File: /home/franchisedada/public_html/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1048

Column 'brand_uid' cannot be null

INSERT INTO `buyer` (`brand_uid`, `ip_address`, `created_on`, `status`) VALUES (NULL, '35.172.201.102', '2018-12-11 19:18:02', '1')

Filename: models/Brand_Model.php

Line Number: 657