A PHP Error was encountered

Severity: Notice

Message: Undefined variable: category

Filename: models/Category_model.php

Line Number: 71

Backtrace:

File: /home/automobuy/public_html/moto/application/modules/category/models/Category_model.php
Line: 71
Function: _error_handler

File: /home/automobuy/public_html/moto/application/modules/category/models/Category_model.php
Line: 37
Function: fetch_category

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 73
Function: get_product_detail

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 35
Function: display_product

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

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: models/Category_model.php

Line Number: 37

Backtrace:

File: /home/automobuy/public_html/moto/application/modules/category/models/Category_model.php
Line: 37
Function: _error_handler

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 73
Function: get_product_detail

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 35
Function: display_product

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Category.php

Line Number: 74

Backtrace:

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 74
Function: _error_handler

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 35
Function: display_product

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Category.php

Line Number: 75

Backtrace:

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 75
Function: _error_handler

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 35
Function: display_product

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Category.php

Line Number: 76

Backtrace:

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 76
Function: _error_handler

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 35
Function: display_product

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

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Category.php

Line Number: 77

Backtrace:

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 77
Function: _error_handler

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 35
Function: display_product

File: /home/automobuy/public_html/moto/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/automobuy/public_html/moto/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/automobuy/public_html/moto/application/modules/category/models/Category_model.php
Line: 257
Function: insert

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 77
Function: page_visit

File: /home/automobuy/public_html/moto/application/modules/category/controllers/Category.php
Line: 35
Function: display_product

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

Database Error

A Database Error Occurred

Error Number: 1048

Column 'product_id' cannot be null

INSERT INTO `default_products_page_visit` (`id`, `product_id`, `count`) VALUES ('', NULL, 1)

Filename: modules/category/models/Category_model.php

Line Number: 257