A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Home.php

Line Number: 5789

Backtrace:

File: /home/ommegaonline/public_html/application/controllers/Home.php
Line: 5789
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'P_VOLUME' of non-object

Filename: controllers/Home.php

Line Number: 5793

Backtrace:

File: /home/ommegaonline/public_html/application/controllers/Home.php
Line: 5793
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'P_ISSUE' of non-object

Filename: controllers/Home.php

Line Number: 5797

Backtrace:

File: /home/ommegaonline/public_html/application/controllers/Home.php
Line: 5797
Function: _error_handler

File: /home/ommegaonline/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 MariaDB server version for the right syntax to use near 'and `ar`.`ISSUE` = and `ar`.`JOURNAL_ID` = 50 ORDER BY `ar`.`PUBLISHED_DATE` ...' 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` >0 and `ar`.`PAPER_STATUS` != 5 and `ar`.`PAPER_STATUS` != 6 and `ar`.`VOLUME` = and `ar`.`ISSUE` = and `ar`.`JOURNAL_ID` = 50 ORDER BY `ar`.`PUBLISHED_DATE` DESC

Filename: models/JournalModal.php

Line Number: 1441