Error creating galley

Hi,
We run ojs version 3.1.2.1 with postgresql
When we try to create an galley and click Save, nothing happens except that the spinner continues to turn.
No messages or error are given on the web, and no galley is added.
We have tried to wait for 2 hours and nothing happens.
On the server side there is no high load nor high RAM usage.
From apache error log I find php warnings saying:

[Fri Oct 18 13:07:12.001606 2019] [php7:warn] [pid 7788] [client 158.174.186.221:48630] PHP Warning:      Declaration of ArticleGalleyGridHandler::fetchRow($args, $request) should be compatible with GridHandler::fe\
tchRow(&$args, $request) in /var/www/html/ojs/controllers/grid/articleGalleys/ArticleGalleyGridHandler.inc.php on line 0, referer: https://journal.interbull.org/index.php/ib/workflow/index/1485/5
[Fri Oct 18 13:07:12.011721 2019] [php7:warn] [pid 7788] [client 158.174.186.221:48630] PHP Warning:  Declaration of ArticleGalleyForm::fetch($request) should be compatible with Form::fetch($request, $template \
= NULL, $display = false) in /var/www/html/ojs/controllers/grid/articleGalleys/form/ArticleGalleyForm.inc.php on line 19, referer: https://journal.interbull.org/index.php/ib/workflow/index/1485/5
[Fri Oct 18 13:07:19.112469 2019] [php7:warn] [pid 8079] [client 77.235.253.35:51527] PHP Warning:  Declaration of ArticleGalleyGridHandler::fetchRow($args, $request) should be compatible with GridHandler::fetc\
hRow(&$args, $request) in /var/www/html/ojs/controllers/grid/articleGalleys/ArticleGalleyGridHandler.inc.php on line 0, referer: https://journal.interbull.org/index.php/ib/workflow/index/1473/4
[Fri Oct 18 13:07:19.126515 2019] [php7:warn] [pid 8079] [client 77.235.253.35:51527] PHP Warning:  Declaration of ArticleGalleyForm::fetch($request) should be compatible with Form::fetch($request, $template = \
NULL, $display = false) in /var/www/html/ojs/controllers/grid/articleGalleys/form/ArticleGalleyForm.inc.php on line 19, referer: https://journal.interbull.org/index.php/ib/workflow/index/1473/4
[Fri Oct 18 13:07:28.005537 2019] [php7:warn] [pid 8343] [client 66.249.66.62:63756] PHP Warning:  Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should \
be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /var/www/html/ojs/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on lin\
e 20

Many thanks in advance!

Hi @marcus1

Those are warnings and won’t be the cause of the problem. Search for “Fatal Error” instead, or tail the log file file while you attempt to create the gallery for a better idea of what the problem is.

Cheers,
Jason

Hi,
I found another post that was similar to our problem:

I looked in my postgres logs and found the same constrain error.
I changed the database and dropped the constrain and now it seems to work.

Thanks!