Pictures and ##api.submissions.unknownError## [3.1.1.2 OJS]

I am using Jatsparser and default manuscript base by @Vitaliy heavily modified by myself. After upgrading to OJS 3.1.1.2 from 3.1, all pictures uploaded through XML (files), are not being displayed. Hence for now, I have reshifted to 3.1. If any one wants to check the problem, lemme know and I will reshift to 3.1.1.2. I use PHP 7.1 and tried with 5.6 and 7.2 as well, but both didnt work.
af45dd4fbf810561c9898be3f544bdb4e3e2f64d

Furthermore, when I click submissions in the dashboard, I get ##api.submissions.unknownError##
0c9882f56f1e27b2a987cb2c855d2f2978c72972

My error logs show these

[18-Jun-2018 22:30:39 UTC] ojs2: 404 Not Found
[18-Jun-2018 22:43:44 UTC] ojs2: 404 Not Found
[18-Jun-2018 22:43:45 UTC] ojs2: 404 Not Found
[18-Jun-2018 22:43:45 UTC] ojs2: 404 Not Found
[18-Jun-2018 22:46:27 UTC] ojs2: 404 Not Found
[18-Jun-2018 22:46:38 UTC] ojs2: 404 Not Found
[18-Jun-2018 23:03:48 UTC] ojs2: 404 Not Found
[18-Jun-2018 23:09:17 UTC] ojs2: 404 Not Found
[18-Jun-2018 23:43:14 UTC] ojs2: 404 Not Found
[18-Jun-2018 23:43:15 UTC] ojs2: 404 Not Found
[19-Jun-2018 00:40:49 UTC] ojs2: 404 Not Found
[19-Jun-2018 02:58:21 UTC] ojs2: 404 Not Found
[19-Jun-2018 03:17:52 UTC] ojs2: DB Error: Duplicate entry ‘9867f0c9947592c90d47d224f9732ab8’ for key ‘sessions_pkey’
[19-Jun-2018 03:19:18 UTC] ojs2: DB Error: Duplicate entry ‘9867f0c9947592c90d47d224f9732ab8’ for key ‘sessions_pkey’
[19-Jun-2018 03:19:18 UTC] ojs2: DB Error: Duplicate entry ‘9867f0c9947592c90d47d224f9732ab8’ for key ‘sessions_pkey’
[19-Jun-2018 03:20:21 UTC] ojs2: DB Error: Duplicate entry ‘9867f0c9947592c90d47d224f9732ab8’ for key ‘sessions_pkey’
[19-Jun-2018 03:44:55 UTC] ojs2: 404 Not Found
[19-Jun-2018 03:44:55 UTC] ojs2: 404 Not Found
[19-Jun-2018 03:44:55 UTC] ojs2: 404 Not Found
[19-Jun-2018 03:53:32 UTC] ojs2: 404 Not Found
[19-Jun-2018 04:14:55 UTC] ojs2: 404 Not Found
[19-Jun-2018 04:14:55 UTC] ojs2: 404 Not Found
[19-Jun-2018 04:14:55 UTC] ojs2: 404 Not Found
[19-Jun-2018 04:17:10 UTC] ojs2: 404 Not Found
[19-Jun-2018 04:17:10 UTC] ojs2: 404 Not Found
[19-Jun-2018 04:17:10 UTC] ojs2: 404 Not Found

When I switched on the deprecations and error in config

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 263

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 359

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 2921

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 3939

Warning: Declaration of CitationStyleLanguagePlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/citationStyleLanguage/CitationStyleLanguagePlugin.inc.php on line 530

Warning: Declaration of LensGalleyPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/lensGalley/LensGalleyPlugin.inc.php on line 381

Warning: Declaration of BrowsePlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/browse/BrowsePlugin.inc.php on line 208

Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/u796555399/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386

Warning: Declaration of JatsParserPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/jatsParser/JatsParserPlugin.inc.php on line 216

Warning: Declaration of DisqusPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/disqus/DisqusPlugin.inc.php on line 137

Warning: Declaration of DatesPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/dates/DatesPlugin.inc.php on line 101

Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/u796555399/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 19

Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/u796555399/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 100

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Warning: assert(): assert(is_a($plugin, $classToCheck)) failed in /home/u796555399/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 232

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134

Warning: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Warning: Declaration of ArticleHandler::initialize($request, $args) should be compatible with PKPHandler::initialize($request) in /home/u796555399/public_html/pages/article/ArticleHandler.inc.php on line 395

Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/u796555399/public_html/classes/article/SubmissionFileDAO.inc.php on line 23

Deprecated: Non-static method PKPApplication::getCCLicenseBadge() should not be called statically in /home/u796555399/public_html/pages/article/ArticleHandler.inc.php on line 150

Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home/u796555399/public_html/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 20

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Warning: call_user_func() expects parameter 1 to be a valid callback, class ‘ManuscriptJats’ does not have a method ‘loadTemplateData’ in /home/u796555399/public_html/lib/pkp/classes/plugins/HookRegistry.inc.php on line 107

Deprecated: Non-static method Config::getContextBaseUrls() should not be called statically in /home/u796555399/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 199

Deprecated: Non-static method PKPRequest::getBaseUrl() should not be called statically in /home/u796555399/public_html/plugins/generic/jatsParser/JatsParserPlugin.inc.php on line 116

Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /home/u796555399/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 158

Deprecated: Non-static method PKPRequest::getBaseUrl() should not be called statically in /home/u796555399/public_html/plugins/generic/jatsParser/JatsParserPlugin.inc.php on line 117

Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /home/u796555399/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 158

Deprecated: Non-static method PKPRequest::getBaseUrl() should not be called statically in /home/u796555399/public_html/plugins/generic/jatsParser/JatsParserPlugin.inc.php on line 119

Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /home/u796555399/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 158

Warning: Cannot modify header information - headers already sent by (output started at /home/u796555399/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php:232) in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 867

Warning: Cannot modify header information - headers already sent by (output started at /home/u796555399/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php:232) in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 868

And in submissions menu

h the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 263

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 359

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 2921

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 3939

Warning: Declaration of CitationStyleLanguagePlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/citationStyleLanguage/CitationStyleLanguagePlugin.inc.php on line 530

Warning: Declaration of LensGalleyPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/lensGalley/LensGalleyPlugin.inc.php on line 381

Warning: Declaration of BrowsePlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/browse/BrowsePlugin.inc.php on line 208

Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/u796555399/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386

Warning: Declaration of JatsParserPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/jatsParser/JatsParserPlugin.inc.php on line 216

Warning: Declaration of DisqusPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/disqus/DisqusPlugin.inc.php on line 137

Warning: Declaration of DatesPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/dates/DatesPlugin.inc.php on line 101

Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/u796555399/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 19

Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/u796555399/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 100

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Warning: assert(): assert(is_a($plugin, $classToCheck)) failed in /home/u796555399/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 232

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134

Warning: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/u796555399/public_html/classes/article/SubmissionFileDAO.inc.php on line 23

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Warning: call_user_func() expects parameter 1 to be a valid callback, class ‘ManuscriptJats’ does not have a method ‘loadTemplateData’ in /home/u796555399/public_html/lib/pkp/classes/plugins/HookRegistry.inc.php on line 107

Warning: Cannot modify header information - headers already sent by (output started at /home/u796555399/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php:232) in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 867

Warning: Cannot modify header information - headers already sent by (output started at /home/u796555399/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php:232) in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 868

Hi @varshilmehta
Don’t see anything related to JATS Parser. Was the update process successful?

Yup it was successful. It was working fine until few hours (may be due to cache). Dont know how it started.

About database error, there was a thread here: DB Error: Duplicate entry 'xxxxxx' for key 'sessions_pkey'

Aha, I see one error that comes from Manuscript theme plugin class:

call_user_func() expects parameter 1 to be a valid callback, class ‘ManuscriptJats’ does not have a method ‘loadTemplateData’ in …

Did you make any modifications in ManuscriptJats.inc.php class? I suspect there is a reference there in your case to a method inside it that does not exist.

Yes, i must have made few changes. But those were months back which i dont even remember.

In your modified ManuscriptJats.inc.php file, is there method loadTemplateData mentioned somewhere? Inside the hook, for example? Like HookRegistry::register('TemplateManager::display', array($this, 'loadTemplateData'));

Yup. I will forward the file directly to you.

The problem is that you are referencing to a method inside a theme that doesn’t exist. Can you simple delete this one line and check whether error persists?

I am still getting api error and still the pictures are not visible. It has nothing to do with the theme i guess. May be Jatsparser?

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 263

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 359

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 2921

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/u796555399/public_html/lib/pkp/lib/adodb/adodb.inc.php on line 3939

Warning: Declaration of CitationStyleLanguagePlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/citationStyleLanguage/CitationStyleLanguagePlugin.inc.php on line 530

Warning: Declaration of LensGalleyPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/lensGalley/LensGalleyPlugin.inc.php on line 209

Warning: Declaration of BrowsePlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/browse/BrowsePlugin.inc.php on line 208

Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/u796555399/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386

Warning: Declaration of JatsParserPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/jatsParser/JatsParserPlugin.inc.php on line 216

Warning: Declaration of DisqusPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/disqus/DisqusPlugin.inc.php on line 137

Warning: Declaration of DatesPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/u796555399/public_html/plugins/generic/dates/DatesPlugin.inc.php on line 101

Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/u796555399/public_html/plugins/generic/driver/DRIVERDAO.inc.php on line 19

Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /home/u796555399/public_html/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 100

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Warning: assert(): assert(is_a($plugin, $classToCheck)) failed in /home/u796555399/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 232

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134

Warning: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 134

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Only variables should be passed by reference in /home/u796555399/public_html/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php on line 65

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Warning: Declaration of ArticleHandler::initialize($request, $args) should be compatible with PKPHandler::initialize($request) in /home/u796555399/public_html/pages/article/ArticleHandler.inc.php on line 395

Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/u796555399/public_html/classes/article/SubmissionFileDAO.inc.php on line 23

Deprecated: Non-static method PKPApplication::getCCLicenseBadge() should not be called statically in /home/u796555399/public_html/pages/article/ArticleHandler.inc.php on line 150

Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /home/u796555399/public_html/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 20

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Notice: Deprecated call without request object. in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 901

Deprecated: Non-static method Config::getContextBaseUrls() should not be called statically in /home/u796555399/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 199

Deprecated: Non-static method PKPRequest::getBaseUrl() should not be called statically in /home/u796555399/public_html/plugins/generic/jatsParser/JatsParserPlugin.inc.php on line 116

Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /home/u796555399/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 158

Deprecated: Non-static method PKPRequest::getBaseUrl() should not be called statically in /home/u796555399/public_html/plugins/generic/jatsParser/JatsParserPlugin.inc.php on line 117

Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /home/u796555399/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 158

Deprecated: Non-static method PKPRequest::getBaseUrl() should not be called statically in /home/u796555399/public_html/plugins/generic/jatsParser/JatsParserPlugin.inc.php on line 119

Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /home/u796555399/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 158

Warning: Cannot modify header information - headers already sent by (output started at /home/u796555399/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php:232) in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 867

Warning: Cannot modify header information - headers already sent by (output started at /home/u796555399/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php:232) in /home/u796555399/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 868

Deprecated: Non-static method PKPRequest::getBaseUrl() should not be called statically in /home/u796555399/public_html/lib/pkp/plugins/generic/usageStats/PKPUsageStatsPlugin.inc.php on line 419

Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /home/u796555399/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 158

UPDATE

@Vitaliy @ajnyga @asmecher @bozana The pics uploaded as the cover pic of the article however work and is visible, but if uploaded through the artwork/XML as dependent file is not visible unlike in OJS 3.1. So something to do with Jatsparser or Lensplugin or through XML which we upload pics or OJS 3.1.1.2 may not allow to show pics uploaded by any other plugin (because even pics in carousal are not displayed : browse plugin).

Also ##api.submissions.unknownError## comes in every user account when he presses submission and there is loading for ever when he clicks archives or any other tab.

JATS Parser and Lens Viewer work as expected.
Your articles contain the valid URL to images (on the first glance). When I’m trying to open your images on local machine, I receive:
Error interpreting JPEG image file (Not a JPEG file: starts with 0x0a 0x0a)
Most probable reason, the files were somehow corrupted during upgrade. The image files somehow received additional lines at the start of the code. As far as Google tells. 0x0a is a hexadecimal new line symbol.

Most probably this is not OJS but server-side issue.

1 Like

Thanks man. Will re upgrade it and see.

Hi guys,

I´m having the same problem. Anyone found the solution?

The ##api.submissions.unknownError## occur when the restful_urls is changed in config.inc.php to On. If restful_urls = Off no error occur.

Thanks,
Geucimar

Hi @Gecuimar,

I see you’ve already posted this on another thread. Please don’t double-post; it clutters the forum.

Regards,
Alec Smecher
Public Knowledge Project Team