A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/YruAccount_model.php

Line Number: 68

Backtrace:

File: C:\xampp\htdocs\contract\application\models\YruAccount_model.php
Line: 68
Function: _error_handler

File: C:\xampp\htdocs\contract\application\controllers\Guidebook.php
Line: 2126
Function: get_user_by_staffid

File: C:\xampp\htdocs\contract\index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/YruAccount_model.php

Line Number: 69

Backtrace:

File: C:\xampp\htdocs\contract\application\models\YruAccount_model.php
Line: 69
Function: _error_handler

File: C:\xampp\htdocs\contract\application\controllers\Guidebook.php
Line: 2126
Function: get_user_by_staffid

File: C:\xampp\htdocs\contract\index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/YruAccount_model.php

Line Number: 70

Backtrace:

File: C:\xampp\htdocs\contract\application\models\YruAccount_model.php
Line: 70
Function: _error_handler

File: C:\xampp\htdocs\contract\application\controllers\Guidebook.php
Line: 2126
Function: get_user_by_staffid

File: C:\xampp\htdocs\contract\index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/YruAccount_model.php

Line Number: 71

Backtrace:

File: C:\xampp\htdocs\contract\application\models\YruAccount_model.php
Line: 71
Function: _error_handler

File: C:\xampp\htdocs\contract\application\controllers\Guidebook.php
Line: 2126
Function: get_user_by_staffid

File: C:\xampp\htdocs\contract\index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/YruAccount_model.php

Line Number: 72

Backtrace:

File: C:\xampp\htdocs\contract\application\models\YruAccount_model.php
Line: 72
Function: _error_handler

File: C:\xampp\htdocs\contract\application\controllers\Guidebook.php
Line: 2126
Function: get_user_by_staffid

File: C:\xampp\htdocs\contract\index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/YruAccount_model.php

Line Number: 73

Backtrace:

File: C:\xampp\htdocs\contract\application\models\YruAccount_model.php
Line: 73
Function: _error_handler

File: C:\xampp\htdocs\contract\application\controllers\Guidebook.php
Line: 2126
Function: get_user_by_staffid

File: C:\xampp\htdocs\contract\index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/YruAccount_model.php

Line Number: 74

Backtrace:

File: C:\xampp\htdocs\contract\application\models\YruAccount_model.php
Line: 74
Function: _error_handler

File: C:\xampp\htdocs\contract\application\controllers\Guidebook.php
Line: 2126
Function: get_user_by_staffid

File: C:\xampp\htdocs\contract\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 C:\xampp\htdocs\contract\system\core\Exceptions.php:272)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: C:\xampp\htdocs\contract\application\models\Guidebook_model.php
Line: 343
Function: query

File: C:\xampp\htdocs\contract\application\controllers\Guidebook.php
Line: 2138
Function: get_owner_list

File: C:\xampp\htdocs\contract\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 ') a' at line 3

select count(*) as ROW_COUNT from (select a.*, b.APPROVE_ID, b.APPROVE_NAME, b.PROCESS_STATUS, b.PROCESS_DATE from tb_guidebook a left join tb_approve b on a.GUIDEBOOK_ID = b.GUIDEBOOK_ID where a.STAFF_ID = ) a

Filename: C:/xampp/htdocs/contract/application/models/Guidebook_model.php

Line Number: 343