Failed AJAX request or invalid JSON on "More information" link

We’ve recently upgraded one of our OJS instances from 2.4.8 to 3.0.2. Under the active submissions section of each journal, when clicking “More Information” under a submission, I get a “Failed AJAX or invalid JSON” error. No information is displayed about the submission, and in the dev console, I see a 404 error:
Failed to load resource: the server responded with a status of 404 (Not Found) -- $$$call$$$/information-center/submission-information-center/view-information-center?submissionId=4290&_=1496676680770
Here’s a screenshot of the error:

In the PHP log, I see a few different messages:
[Mon Jun 05 11:27:30.222411 2017] [:error] [pid 15998] [client 142.150.192.183:55729] PHP Warning: Illegal string offset 'en_US' in /var/www/html/queens/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: http://ojs.library.queensu.ca/index.php/CRI/submissions [Mon Jun 05 11:27:30.250091 2017] [rewrite:trace1] [pid 15998] mod_rewrite.c(470): [client 142.150.192.183:55729] 142.150.192.183 - - [ojs.library.queensu.ca/sid#7fe6d2fde708][rid#7fe6d344e370/initial] pass through /index.php/CRI/$$$call$$$/grid/submissions/unassigned-submissions/unassigned-submissions-list-grid/fetch-grid, referer: http://ojs.library.queensu.ca/index.php/CRI/submissions [Mon Jun 05 11:27:30.250358 2017] [rewrite:trace1] [pid 15998] mod_rewrite.c(470): [client 142.150.192.183:55729] 142.150.192.183 - - [ojs.library.queensu.ca/sid#7fe6d2fde708][rid#7fe6d344a350/subreq] pass through /CRI/$$$call$$$/grid/submissions/unassigned-submissions/unassigned-submissions-list-grid/fetch-grid, referer: http://ojs.library.queensu.ca/index.php/CRI/submissions [Mon Jun 05 11:27:30.250981 2017] [rewrite:trace1] [pid 15166] mod_rewrite.c(470): [client 142.150.192.183:55722] 142.150.192.183 - - [ojs.library.queensu.ca/sid#7fe6d2fde708][rid#7fe6d344e370/initial] pass through /index.php/CRI/$$$call$$$/grid/submissions/assigned-submissions/assigned-submissions-list-grid/fetch-grid, referer: http://ojs.library.queensu.ca/index.php/CRI/submissions [Mon Jun 05 11:27:30.251157 2017] [rewrite:trace1] [pid 15166] mod_rewrite.c(470): [client 142.150.192.183:55722] 142.150.192.183 - - [ojs.library.queensu.ca/sid#7fe6d2fde708][rid#7fe6d3450380/subreq] pass through /CRI/$$$call$$$/grid/submissions/assigned-submissions/assigned-submissions-list-grid/fetch-grid, referer: http://ojs.library.queensu.ca/index.php/CRI/submissions [Mon Jun 05 11:27:30.254894 2017] [rewrite:trace1] [pid 15154] mod_rewrite.c(470): [client 142.150.192.183:55734] 142.150.192.183 - - [ojs.library.queensu.ca/sid#7fe6d2fde708][rid#7fe6d370f3a0/initial] pass through /index.php/CRI/$$$call$$$/grid/submissions/my-submissions/my-submissions-list-grid/fetch-grid, referer: http://ojs.library.queensu.ca/index.php/CRI/submissions [Mon Jun 05 11:27:30.255103 2017] [rewrite:trace1] [pid 15154] mod_rewrite.c(470): [client 142.150.192.183:55734] 142.150.192.183 - - [ojs.library.queensu.ca/sid#7fe6d2fde708][rid#7fe6d3452390/subreq] pass through /CRI/$$$call$$$/grid/submissions/my-submissions/my-submissions-list-grid/fetch-grid, referer: http://ojs.library.queensu.ca/index.php/CRI/submissions [Mon Jun 05 11:27:30.809991 2017] [:error] [pid 15998] [client 142.150.192.183:55729] PHP Notice: Undefined index: comments_to_ed in /var/www/html/queens/lib/pkp/classes/submission/SubmissionDAO.inc.php on line 113, referer: http://ojs.library.queensu.ca/index.php/CRI/submissions

I noticed that this is happening across all of our journals. Any ideas of what might be causing this?

Thanks!

Hi @kaitlin,

Do you have PHP error messages configured to go to the browser? If so, minor messages like warnings will garble JSON responses and cause messages like this. I’d recommend making sure that PHP error messages are configured to go to the error logs only. (This is part of your php.ini.)

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

No, I don’t think we’re outputting errors to the browser - we have display_errors = off in our php.ini. Are there any other settings I should check for here?

Hi @kaitlin,

OK, that sounds fine – the next thing I’d do is use a browser tool like Chrome’s developer tools or Firebug for Firefox to inspect the JSON response that your browser is complaining about. There might be something in it that provides more clues on what’s happening.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

I just see a “404 Not Found” message, so I can’t actually see the JSON response. Could some data be missing somewhere?

Hi @kaitlin,

Is it possible that lib/pkp/controllers/informationCenter/SubmissionInformationCenterHandler.inc.php is somehow missing?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

Looks like this was on the right track! It turns out it was a submodule git update issue.

Thanks for all of your help!

Hi @kaitlin,

Glad it’s working!

Regards,
Alec Smecher
Public Knowledge Project Team