A PHP Error was encountered

Severity: Notice

Message: Undefined index: client_id

Filename: models/Producttype.php

Line Number: 9

Backtrace:

File: /home/joeydoom/public_html/flowersonflowers.com/app/models/Producttype.php
Line: 9
Function: _error_handler

File: /home/joeydoom/public_html/flowersonflowers.com/app/models/_loader.php
Line: 7
Function: model

File: /home/joeydoom/public_html/flowersonflowers.com/app/controllers/ContactController.php
Line: 17
Function: load

File: /home/joeydoom/public_html/flowersonflowers.com/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/joeydoom/public_html/flowersonflowers.com/app/models/Client.php
Line: 28
Function: query

File: /home/joeydoom/public_html/flowersonflowers.com/app/models/Producttype.php
Line: 9
Function: getRecord

File: /home/joeydoom/public_html/flowersonflowers.com/app/models/_loader.php
Line: 7
Function: model

File: /home/joeydoom/public_html/flowersonflowers.com/app/controllers/ContactController.php
Line: 17
Function: load

File: /home/joeydoom/public_html/flowersonflowers.com/index.php
Line: 292
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND deleted = 0' at line 1

SELECT * FROM client WHERE id = AND deleted = 0;

Filename: models/Client.php

Line Number: 28