A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Home.php

Line Number: 1240

Backtrace:

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 1240
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: 1241

Backtrace:

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 1241
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: 1242

Backtrace:

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

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: 796
Function: get

File: /home/ommegao1/public_html/application/controllers/Home.php
Line: 1243
Function: getarticleinpress

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 `ar`.`ISSUE` = and `ar`.`JOURNAL_ID` = 57 ORDER BY `ar`.`PAPER_ID` DESC' at line 4

SELECT `ar`.`PAPER_ID`, `ar`.`CORRESPONDING_AUTHOR`, `ar`.`COAUTHOR_NAME`, `ar`.`VOLUME`, `ar`.`ISSUE`, `ar`.`PUBLISHED_DATE`, `ar`.`PAPER_TITLE`, `ar`.`DOI`, `ar`.`DOI_URL`, `ar`.`VIEWS`, `ar`.`ARTICLE_LIKE`, `ar`.`KEYWORDS`, `us`.`FIRST_NAME`, `us`.`LAST_NAME` FROM `articles` as `ar` LEFT JOIN `users` AS `us` ON `us`.`USER_ID` = `ar`.`AUTHOR_ID` WHERE `ar`.`PAPER_STATUS` > 8 and `ar`.`VOLUME` = and `ar`.`ISSUE` = and `ar`.`JOURNAL_ID` = 57 ORDER BY `ar`.`PAPER_ID` DESC

Filename: models/JournalModal.php

Line Number: 796