A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Home.php

Line Number: 546

Backtrace:

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 546
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Home.php

Line Number: 546

Backtrace:

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 546
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Home.php

Line Number: 551

Backtrace:

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 551
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Home.php

Line Number: 551

Backtrace:

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 551
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Home.php

Line Number: 579

Backtrace:

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 579
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Home.php

Line Number: 579

Backtrace:

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 579
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Home.php

Line Number: 580

Backtrace:

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 580
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Home.php

Line Number: 580

Backtrace:

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 580
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: views/article-details.php

Line Number: 40

Backtrace:

File: /home/ommegao1/public_html/application/views/article-details.php
Line: 40
Function: _error_handler

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 583
Function: view

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/article-details.php

Line Number: 41

Backtrace:

File: /home/ommegao1/public_html/application/views/article-details.php
Line: 41
Function: _error_handler

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 583
Function: view

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: views/article-details.php

Line Number: 42

Backtrace:

File: /home/ommegao1/public_html/application/views/article-details.php
Line: 42
Function: _error_handler

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 583
Function: view

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/article-details.php

Line Number: 45

Backtrace:

File: /home/ommegao1/public_html/application/views/article-details.php
Line: 45
Function: _error_handler

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 583
Function: view

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

Filename: core/Common.php

Line Number: 568

Backtrace:

File: /home/ommegao1/public_html/application/models/JournalModal.php
Line: 878
Function: get

File: /home/ommegao1/public_html/application/views/article-details.php
Line: 45
Function: getearticlelink

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 583
Function: view

File: /home/ommegao1/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 'and `at`.`ATTACHMENT_BLOCK` = 9 ORDER BY `at`.`ATTACHMENT_ID` DESC LIMIT 1' at line 3

SELECT `at`.`ATTACHMENT_NAME`, `at`.`ATTACHMENT_ID` FROM `attachments` AS `at` WHERE `at`.`PAPER_ID` = and `at`.`ATTACHMENT_BLOCK` = 9 ORDER BY `at`.`ATTACHMENT_ID` DESC LIMIT 1

Filename: models/JournalModal.php

Line Number: 878