OMP Upgrade 3.4.0.5 and Order of monographs [White Page]

Dear PKP Team

The platform was upgraded to 3.4.0.5

Under Website Settings >> Appearance >> Setup >> Order of monographs >> option “Publication date (newest first)” = we see a white page on the Catalog page.

All other options load the credentials of books on the catalog page.

image

Kindly advise on a course of action to correct.

Hi @tretief,

Thanks for your post. I tried this as well and encountered a similar error, that flagged the setting itself:

I’ll bring this up with our development team to see if it might be a bug.

-Roger
PKP Team

1 Like

Hi @tretief and @rcgillis

Strangely, but I cannot reproduce the problems, neither of them, in my local installation.
@tretief, would it be possible for you to watch the server’s PHP error log file while accessing that empty catalog page? – Maybe there is an error occurring.
Also, if you can see in your browsers development tools (right mouse click > inspect), maybe under console or network, if there are any errors there?

Thanks,
Bozana

Hi @bozana

Browser development tools reveals:

I will report on the server’s PHP setting error log file shortly.

Best, Trudie

Hi @tretief,

You probably have your PHP configuration set to send errors/warnings to the browser; make sure the PHP configuration instead sends them to a log file.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Hi @asmecher - I can confirm the PHP configuration was set to send errors/warning to the browser.

Hi @bozana - the page started to load after disabling display_errors and outputting to a logfile. Content of the logfile as requested:

[15-May-2024 13:19:57 UTC] PHP Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /usr/www/users/booksup3/lib/pkp/classes/db/DAO.php on line 333
[15-May-2024 13:19:57 UTC] PHP Deprecated: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /usr/www/users/booksup3/lib/pkp/classes/db/DAO.php on line 338

Best, Trudie