A PHP Error was encountered

Severity: Warning

Message: Missing argument 6 for Dashboard_model::fetch_fac_data(), called in /home/artivernub/public_html/application/controllers/Faculty_profile.php on line 29 and defined

Filename: models/Dashboard_model.php

Line Number: 774

Backtrace:

File: /home/artivernub/public_html/application/models/Dashboard_model.php
Line: 774
Function: _error_handler

File: /home/artivernub/public_html/application/controllers/Faculty_profile.php
Line: 29
Function: fetch_fac_data

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

A PHP Error was encountered

Severity: Warning

Message: Missing argument 7 for Dashboard_model::fetch_fac_data(), called in /home/artivernub/public_html/application/controllers/Faculty_profile.php on line 29 and defined

Filename: models/Dashboard_model.php

Line Number: 774

Backtrace:

File: /home/artivernub/public_html/application/models/Dashboard_model.php
Line: 774
Function: _error_handler

File: /home/artivernub/public_html/application/controllers/Faculty_profile.php
Line: 29
Function: fetch_fac_data

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: table

Filename: models/Dashboard_model.php

Line Number: 777

Backtrace:

File: /home/artivernub/public_html/application/models/Dashboard_model.php
Line: 777
Function: _error_handler

File: /home/artivernub/public_html/application/controllers/Faculty_profile.php
Line: 29
Function: fetch_fac_data

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

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: val3

Filename: models/Dashboard_model.php

Line Number: 780

Backtrace:

File: /home/artivernub/public_html/application/models/Dashboard_model.php
Line: 780
Function: _error_handler

File: /home/artivernub/public_html/application/controllers/Faculty_profile.php
Line: 29
Function: fetch_fac_data

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/artivernub/public_html/application/models/Dashboard_model.php
Line: 781
Function: get

File: /home/artivernub/public_html/application/controllers/Faculty_profile.php
Line: 29
Function: fetch_fac_data

File: /home/artivernub/public_html/index.php
Line: 315
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 'WHERE `emp_id` = 'FS 1020' AND `status` = 1 AND `faculty_work_profile` IS NULL' at line 2

SELECT * WHERE `emp_id` = 'FS 1020' AND `status` = 1 AND `faculty_work_profile` IS NULL

Filename: models/Dashboard_model.php

Line Number: 781