The Entry Page is not Shown in OMP 3.3.0-4

The Entry Page is not shown.
Here the log file:

[Wed Mar 31 11:47:31.084767 2021] [php:error] [pid 3572:tid 1800] [client 127.0.0.1:57850] PHP Fatal error: Uncaught Error: Non-static method PKPApplication::getCCLicenseBadge() cannot be called statically in D:\xampp\htdocs\omp\pages\catalog\CatalogBookHandler.inc.php:127\nStack trace:\n#0 D:\xampp\htdocs\omp\lib\pkp\classes\core\PKPRouter.inc.php(395): CatalogBookHandler->book(Array, Object(Request))\n#1 D:\xampp\htdocs\omp\lib\pkp\classes\core\PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)\n#2 D:\xampp\htdocs\omp\lib\pkp\classes\core\Dispatcher.inc.php(144): PKPPageRouter->route(Object(Request))\n#3 D:\xampp\htdocs\omp\lib\pkp\classes\core\PKPApplication.inc.php(364): Dispatcher->dispatch(Object(Request))\n#4 D:\xampp\htdocs\omp\index.php(64): PKPApplication->execute()\n#5 {main}\n thrown in D:\xampp\htdocs\omp\pages\catalog\CatalogBookHandler.inc.php on line 127, referer: http://localhost/omp/index.php/e-lib/manageCatalog

Besides, the catalog page has not been shown as well. It was error:
[Wed Mar 31 11:42:44.430508 2021] [php:error] [pid 3572:tid 1836] [client 127.0.0.1:57503] PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in D:\xampp\htdocs\omp\classes\components\listPanels\CatalogListPanel.inc.php on line 76, referer: http://localhost/omp/index.php/e-lib/workflow/index/6/5

I have changed lines 76 and 98 in the file “CatalogListPanel.inc” in directory: “omp\classes\components\listPanels”
from 76
$categorySortDir = empty($categorySortDir) ? $catalogSortDir : $categorySortDir == SORT_DIRECTION_ASC ? ‘ASC’ : ‘DESC’;
to 76
$categorySortDir = empty($categorySortDir) ? $catalogSortDir : (($categorySortDir == SORT_DIRECTION_ASC) ? ‘ASC’ : ‘DESC’);
from 98
$seriesSortDir = empty($seriesSortDir) ? $catalogSortDir : $seriesSortDir == SORT_DIRECTION_ASC ? ‘ASC’ : ‘DESC’;
to 98 $seriesSortDir = empty($seriesSortDir) ? $catalogSortDir : (($seriesSortDir == SORT_DIRECTION_ASC) ? ‘ASC’ : ‘DESC’);

The catalog problem now fixed but the entry page still is not shown.

May be it would help. I also have the next message:
[Wed Mar 31 11:42:47.491939 2021] [php:notice] [pid 3572:tid 1800] [client 127.0.0.1:57537] omp: Representative referenced outside of authorized monograph context!, referer: http://localhost/omp/index.php/e-lib/workflow/index/6/5

Hi @Giovani,

Can you give an example of what you mean by “Entry page” perhaps by showing it in another OMP instance? Perhaps you could give a screenshot of the page where you see your error that includes the URL?

-Roger
PKP Team

Thanks for your time.
I found the solution. I changed the line 754 in file:
\lib\pkp\classes\corePKPApplication.inc
from:
public function getCCLicenseBadge($ccLicenseURL, $locale = null) {
to:
public static function getCCLicenseBadge($ccLicenseURL, $locale = null) {
Suppose, it is because I have php 8.0.3

Hi @Giovani,

I’ve filed/fixed this for the next release here: Replace getCCLicenseBadge static calls with instance calls · Issue #6953 · pkp/pkp-lib · GitHub

Regards,
Alec Smecher
Public Knowledge Project Team