[OJS 3.1.2-1] Statistics/Articles wouldn't work properly when base url is set

Hi! When the base url of the journal is set in the config, the journal manager will only get the default graph. Setting any date ranges or filters would result in this error: “An unexpected error has occurred. Please reload the page and try again.”. In the browser I can see something like this:

Request URL:https://mirros.hse.ru/api/v1/stats/publishedSubmissions?sectionIds[]=466&count=20&offset=0&dateStart=2019-05-13&dateEnd=2019-06-12&timeSegment=month&orderBy=total&orderDirection=DESC&_=1560423970936
Request method:GET
Remote address:..*.196:443
Status code:

And in the PHP-log:

[Thu Jun 13 14:20:15.137764 2019] [php7:notice] [pid 24120] [client **..8.1:33478] ojs2: 404 Not Found
[Thu Jun 13 14:20:15.553503 2019] [php7:warn] [pid 24123] [client **.
.8.1:33482] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /var/www/ojs-3.1.2-1/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 0
[Thu Jun 13 14:20:15.565573 2019] [php7:notice] [pid 24123] [client **..8.1:33482] ojs2: 404 Not Found
[Thu Jun 13 14:20:15.913090 2019] [php7:warn] [pid 24152] [client **.
.8.1:33486] PHP Warning: Declaration of CoinsPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /var/www/ojs-3.1.2-1/plugins/generic/coins/CoinsPlugin.inc.php on line 0

Please, help!!

1 Like

Here is the issue: