Unable to reorder TOC for a published back issue

Hi PKP team,

We have an issue with a journal (OJS 3.1) where the table of contents is not able to be re-ordered for an issue that has been published. When I try to re-order, it doesn’t save and just goes back to the end. Some of the other items can be reordered, but it seems that there is one specific item in the TOC that won’t move.

Here’s the PHP error log (there was nothing in the console log):

[Wed Dec 13 12:33:13.029298 2017] [php7:warn] [pid 2744] [client 142.150.192.183:53829] PHP Warning:  Declaration of TocGridHandler::loadCategoryData($request, $section) should be compatible with CategoryGridHandler::loadCategoryData($request, &$categoryDataElement, $filter = NULL) in /var/www/html/queens/controllers/grid/toc/TocGridHandler.inc.php on line 20, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.225461 2017] [php7:warn] [pid 2744] [client 142.150.192.183:53829] PHP Warning:  Illegal string offset 'en_US' in /var/www/html/queens/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.225536 2017] [php7:warn] [pid 2744] [client 142.150.192.183:53829] PHP Warning:  Illegal string offset 'en_US' in /var/www/html/queens/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.227422 2017] [php7:warn] [pid 3604] [client 142.150.192.183:53830] PHP Warning:  Illegal string offset 'en_US' in /var/www/html/queens/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.227494 2017] [php7:warn] [pid 3604] [client 142.150.192.183:53830] PHP Warning:  Illegal string offset 'en_US' in /var/www/html/queens/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.234855 2017] [php7:warn] [pid 2278] [client 142.150.192.183:53831] PHP Warning:  Illegal string offset 'en_US' in /var/www/html/queens/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.234996 2017] [php7:warn] [pid 2278] [client 142.150.192.183:53831] PHP Warning:  Illegal string offset 'en_US' in /var/www/html/queens/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.308742 2017] [php7:warn] [pid 2744] [client 142.150.192.183:53829] PHP Warning:  Illegal string offset 'en_US' in /var/www/html/queens/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.308809 2017] [php7:warn] [pid 2744] [client 142.150.192.183:53829] PHP Warning:  Illegal string offset 'en_US' in /var/www/html/queens/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.315312 2017] [php7:warn] [pid 3604] [client 142.150.192.183:53830] PHP Warning:  Illegal string offset 'en_US' in /var/www/html/queens/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.315380 2017] [php7:warn] [pid 3604] [client 142.150.192.183:53830] PHP Warning:  Illegal string offset 'en_US' in /var/www/html/queens/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.319436 2017] [php7:warn] [pid 2278] [client 142.150.192.183:53831] PHP Warning:  Illegal string offset 'en_US' in /var/www/html/queens/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.319503 2017] [php7:warn] [pid 2278] [client 142.150.192.183:53831] PHP Warning:  Illegal string offset 'en_US' in /var/www/html/queens/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.443313 2017] [php7:warn] [pid 2744] [client 142.150.192.183:53829] PHP Warning:  Declaration of CategoryGridHandler::doSpecificFetchGridActions($args, $request, &$templateMgr) should be compatible with GridHandler::doSpecificFetchGridActions($args, $request, $templateMgr) in /var/www/html/queens/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php on line 0, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.443505 2017] [php7:warn] [pid 2744] [client 142.150.192.183:53829] PHP Warning:  Declaration of TocGridRow::initialize($request) should be compatible with GridRow::initialize($request, $template = NULL) in /var/www/html/queens/controllers/grid/toc/TocGridRow.inc.php on line 0, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.443596 2017] [php7:warn] [pid 2744] [client 142.150.192.183:53829] PHP Warning:  Declaration of TocGridHandler::getDataElementInCategorySequence($categoryId, $publishedArticle) should be compatible with CategoryGridHandler::getDataElementInCategorySequence($categoryId, &$gridDataElement) in /var/www/html/queens/controllers/grid/toc/TocGridHandler.inc.php on line 20, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.443631 2017] [php7:warn] [pid 2744] [client 142.150.192.183:53829] PHP Warning:  Declaration of TocGridHandler::setDataElementInCategorySequence($sectionId, $publishedArticle, $newSequence) should be compatible with CategoryGridHandler::setDataElementInCategorySequence($categoryId, &$gridDataElement, $newSequence) in /var/www/html/queens/controllers/grid/toc/TocGridHandler.inc.php on line 20, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.443647 2017] [php7:warn] [pid 2744] [client 142.150.192.183:53829] PHP Warning:  Declaration of TocGridHandler::initialize($request) should be compatible with CategoryGridHandler::initialize($request, $args = NULL) in /var/www/html/queens/controllers/grid/toc/TocGridHandler.inc.php on line 20, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.443663 2017] [php7:warn] [pid 2744] [client 142.150.192.183:53829] PHP Warning:  Declaration of TocGridHandler::loadCategoryData($request, $section) should be compatible with CategoryGridHandler::loadCategoryData($request, &$categoryDataElement, $filter = NULL) in /var/www/html/queens/controllers/grid/toc/TocGridHandler.inc.php on line 20, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues
[Wed Dec 13 12:33:13.450722 2017] [php7:warn] [pid 3604] [client 142.150.192.183:53830] PHP Warning:  Declaration of IssueGridRow::initialize($request) should be compatible with GridRow::initialize($request, $template = NULL) in /var/www/html/queens/controllers/grid/issues/IssueGridRow.inc.php on line 0, referer: https://ojs.library.queensu.ca/index.php/encounters/manageIssues

Happy New Year PKP team!

Any ideas on what might be causing this problem?

I have encountered situations where the toc can not be reordered, but this does seem to be bit different. In our case emptying the custom_section_orders table for the issue_id you are trying to reorder has solved it. But it could very well be that this is not the case here.

It seems to only be an issue with one specific section type - once I changed the section for the article, I was able to re-order it as expected. Strange behaviour!