[OMP 3.1.2] Error 500 in Monograph Statistics

Hi there,

When trying to customize parameters in Statistics > Monographs report, the following popup appears: “An unexpected error has occurred. Please reload the page and try again.”

I checked my console, it gave me the status 500 (Internal Server Error) for link /api/v1/stats/publishedSubmissions?count=20&offset=0&timeSegment=month&orderBy=total&orderDirection=DESC&_=1581462690661.

My PHP error log shows:

[11-Feb-2020 16:49:46 America/Chicago] Slim Application Error:
Type: Error
Message: Call to undefined method PublishedMonographDAO::getByArticleId()
File: /home1/apert780/plataforma/abpeducom/site/publicacoes/lib/pkp/api/v1/stats/PKPStatsHandler.inc.php
Line: 178

Changing charsets in Localization Settings at config.inc.php (as I seen here) didn’t help.

My OMP version is 3.1.2-4.

Could you guys help me with this? I’d really appreciate it.

Hey guys,

Any tips about it?

Thank you for your attention.

Hi @fsaldanha,

Thanks for reporting – I’ve filed and fixed that here:
https://github.com/pkp/pkp-lib/issues/5529

Regards,
Alec Smecher
Public Knowledge Project Team

Tkanks for your return. I can confirm this indeed fixed the error. Cheers!

1 Like